Sha256: 71f476824ad141b7bab063a25200f5a69abf576e77c636f85b1f6734fb22a36b

Contents?: true

Size: 1.48 KB

Versions: 15

Compression:

Stored size: 1.48 KB

Contents

= render "layouts/manage/page_title", title: "Questionnaires" do
  = link_to "New Questionnaire", new_manage_questionnaire_path, class: "btn btn-sm btn-outline-secondary"

%div
  %table.questionnaires.datatable.table.table-striped.table-hover{ "data-source" => datatable_manage_questionnaires_path(format: :json) }
    %thead
      %tr
        %th
          - if current_user.admin?
            %input{ type: "checkbox", name: "select_allc", value: "1", data: { bulk_row_select: "" } }
        %th
        %th
        %th ID
        %th First name
        %th Last name
        %th Email
        %th Phone
        %th Gender
        %th Date of birth
        %th Status
        %th Checked In
        %th School
        %th Applied on
        %th Dietary restrictions
        %th Special needs
    %tbody

  .row
    .col-sm-7.col-lg-6
      %br
      .card
        .card-body
          %h5.card-title Bulk Action
          = bs_vertical_simple_form Questionnaire.new, url: bulk_apply_manage_questionnaires_path, html: { data: { bulk_row_edit: true } } do |f|
            = f.input :acc_status, as: :select, collection: Questionnaire::POSSIBLE_ACC_STATUS.invert, include_blank: false, label: "Acceptance Status:", input_html: { data: { bulk_row_edit: true } }, hint: "Updating this status may trigger an automatic email to each applicant - see below for details."
            = f.button :submit, value: "Update Status", data: { bulk_row_edit: true }, class: 'btn-primary'

  %hr

  = render 'triggered_email_summary'

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hackathon_manager-0.14.1 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.14.0 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.13.12 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.13.11 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.13.10 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.13.9 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.13.8 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.13.7 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.13.6 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.13.5 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.13.4 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.13.3 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.13.2 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.13.1 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.13.0 app/views/manage/questionnaires/index.html.haml