Sha256: b815c7e3d6c2f8fc0a84a5ff8158641b612e336c0ead782e1f1061ec12de813c

Contents?: true

Size: 1.27 KB

Versions: 2

Compression:

Stored size: 1.27 KB

Contents

%section.section.manage
  %h1.section-title= title "Listing Questionnaires"

  - if ENV['INVITE_TO_SLACK_UPON_RSVP']
    %p
      %small
        %span.fa.fa-info-circle.icon-space-r
        Slack invites will automatically be sent upon RSVP confirmation.

  %table.questionnaires.datatable.row-border.stripe.hover.order-column{ "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 ID
        %th First name
        %th Last name
        %th Email
        %th Status
        %th Checked In
        %th School
    %tbody

  - unless current_user.admin_limited_access?
    %br
    = btn_link_to 'New Questionnaire', new_manage_questionnaire_path

    %h4 Bulk Action:
    = simple_form_for 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 } }
      = f.button :submit, value: "Update Status", data: { bulk_row_edit: true }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hackathon_manager-0.5.11 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.5.10 app/views/manage/questionnaires/index.html.haml