Sha256: 5a27e71abe0ec1171c6fdd022cc3541505488b155bf06031a717856535ca791b

Contents?: true

Size: 1.57 KB

Versions: 2

Compression:

Stored size: 1.57 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
        %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
    .container.container-half
      = btn_link_to 'New Questionnaire', new_manage_questionnaire_path

    .container.container-half

    .container.container-half
      %fieldset
        %legend 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 } }, 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 }

  %br
  %br
  %br

  = render 'triggered_email_summary'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hackathon_manager-0.6.2 app/views/manage/questionnaires/index.html.haml
hackathon_manager-0.6.1 app/views/manage/questionnaires/index.html.haml