Sha256: 5e2c109fb5fc6a10ae5119523f39dd94ba376142933a429225fbc3b09c415501

Contents?: true

Size: 1.74 KB

Versions: 11

Compression:

Stored size: 1.74 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
  - if ENV['INVITE_TO_SLACK_UPON_RSVP']
    %p.small
      %strong.text-info
        %span.fa.fa-info-circle.icon-space-r-half
        Slack auto-invite enabled.
      %span.text-muted Invites will automatically be sent upon RSVP confirmation.

  %table.questionnaires.datatable.table.table-striped.table-hover{ "data-source" => datatable_manage_questionnaires_path(format: :json) }
    %thead
      %tr
        %th
          - unless current_user.admin_limited_access?
            %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

11 entries across 11 versions & 1 rubygems

Version Path
hackathon_manager-0.11.0 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.10.3 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.10.2 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.10.1 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.10.0 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.9.2 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.9.1 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.9.0 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.8.2 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.8.1 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.8.0 app/views/manage/questionnaires/index.html.haml