Sha256: 8cf4e72b2bbf86574966b9f6a877c0cc52e918c17f168eafb051392158220ce9

Contents?: true

Size: 1.81 KB

Versions: 7

Compression:

Stored size: 1.81 KB

Contents

- title "Application"
.form-container
  - if flash[:notice]
    #disclaimer
      %p#notice= flash[:notice]

  #disclaimer
    %h1.section-title
      Application
      %span.emphasized Status
    - if @questionnaire.blank?
      %strong AWAITING APPLICATION
    - else
      %strong= @questionnaire.verbal_status.upcase
      - if @questionnaire.can_rsvp?
        - if @questionnaire.did_rsvp?
          - if @questionnaire.acc_status == "rsvp_confirmed"
            %p
              Congratulations! You're all set to attend #{Rails.configuration.hackathon['name']}!
            %p
              Expect an email closer to February 11th with additional logistics & travel info.
              %br
              %br
          %p.center
            = btn_link_to "Change RSVP", rsvp_path
        - else
          %p
            Please RSVP so we know if you're attending!
            %br
            %br
          %p.center
            = btn_link_to "RSVP NOW »".html_safe, rsvp_path
      - else
        - if Rails.configuration.hackathon['registration_is_open']
          - if Rails.configuration.hackathon['thanks_for_applying']
            = markdown(Rails.configuration.hackathon['thanks_for_applying'])
          - else
            %p Thanks for applying! You will be notified of your acceptance via email.
        - else
          %p Thanks for applying!

.form-container
  %h1.section-title.section-title--actions
    %span
      Review your
      %span.emphasized Application
    = btn_link_to 'Edit', edit_questionnaires_path, class: 'section-title__action'

  .participant_info
    = render partial: 'questionnaire_summary'

  %br
  %p.session-link.right
    Unhappy? #{link_to "Revoke my application", user_registration_path, data: { confirm: "Are you sure? Your account and application will be permanently erased." }, method: :delete}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hackathon_manager-0.5.6 app/views/questionnaires/show.html.haml
hackathon_manager-0.5.5 app/views/questionnaires/show.html.haml
hackathon_manager-0.5.4 app/views/questionnaires/show.html.haml
hackathon_manager-0.5.3 app/views/questionnaires/show.html.haml
hackathon_manager-0.5.2 app/views/questionnaires/show.html.haml
hackathon_manager-0.5.1 app/views/questionnaires/show.html.haml
hackathon_manager-0.5.0 app/views/questionnaires/show.html.haml