app/views/manage/questionnaires/_checkin.html.haml in hackathon_manager-0.12.2 vs app/views/manage/questionnaires/_checkin.html.haml in hackathon_manager-0.13.0

- old
+ new

@@ -6,10 +6,10 @@ %p.card-text = render 'acc_status_badge' %small = @questionnaire.acc_status_author_id ? @questionnaire.acc_status_author.email : "(no author)" = @questionnaire.acc_status_date ? display_datetime(@questionnaire.acc_status_date, in_sentence: true) : "(no date)" - - unless current_user.admin_limited_access? + - if current_user.admin? = bs_vertical_simple_form @questionnaire, url: url_for(action: "update_acc_status", controller: "questionnaires") do |f| = f.input :acc_status, as: :select, collection: Questionnaire::POSSIBLE_ACC_STATUS.invert, include_blank: false, label: "Acceptance Status:", hint: "Updating this status may trigger an automatic email to the applicant - see #{link_to('messages', manage_messages_path(anchor: 'triggered-email-overview'))} for details.".html_safe = f.button :submit, value: "Update Status", class: 'btn-primary' .col-md-6 .card.mb-3