Sha256: 23f9133d2ee3399598f92ce0bca0c43609b969b9d5b92e4da222aff04b47bc89

Contents?: true

Size: 1.31 KB

Versions: 6

Compression:

Stored size: 1.31 KB

Contents

.d-flex.justify-content-between.flex-wrap.flex-md-nowrap.align-items-center.pt-3.pb-2.mb-3.border-bottom
  .d-flex.align-items-center.flex-wrap
    %h1.h2.mr-3
      = title @questionnaire.full_name
    %div
      %span.mr-1
        = render 'acc_status_badge'
      %span
        = render 'check_in_badge'

  .btn-group{role: "group"}
    - if current_user.admin?
      = link_to 'Edit', edit_manage_questionnaire_path(@questionnaire), class: 'btn btn-sm btn-outline-secondary'
    - if current_user.admin?
      .btn-group{role: "group"}
        %button.btn.btn-sm.btn-outline-secondary.dropdown-toggle#title-actions{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown", type: "button"}
          .fa.fa-cog
        .dropdown-menu.dropdown-menu-right{"aria-labelledby" => "title-actions"}
          = link_to 'Convert to Admin', convert_to_admin_manage_questionnaire_path(@questionnaire), method: :patch, data: { confirm: "Are you sure? The questionnaire for \"#{@questionnaire.full_name}\" will be permanently erased, and \"#{@questionnaire.email}\" will become an admin. This action is irreversible." }, class: 'dropdown-item'

= render 'overview'

.row
  .col
    %h3.mt-3.pb-2.border-bottom.mb-3 Admissions

= render 'checkin'

.row
  .col
    %h3.mt-3.pb-2.border-bottom.mb-3 History

= render 'history'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hackathon_manager-0.13.5 app/views/manage/questionnaires/show.html.haml
hackathon_manager-0.13.4 app/views/manage/questionnaires/show.html.haml
hackathon_manager-0.13.3 app/views/manage/questionnaires/show.html.haml
hackathon_manager-0.13.2 app/views/manage/questionnaires/show.html.haml
hackathon_manager-0.13.1 app/views/manage/questionnaires/show.html.haml
hackathon_manager-0.13.0 app/views/manage/questionnaires/show.html.haml