Sha256: 098db32eff7970f1ce21dff538bfb622cd9a9ddf8f0a1a642149d3b2c73e12ae

Contents?: true

Size: 1.39 KB

Versions: 5

Compression:

Stored size: 1.39 KB

Contents

- title "Application"
.form-success
  .success_message
    %p#notice= notice
    - if @questionnaire.can_rsvp?
      - if @questionnaire.did_rsvp?
        %p
          Below is a copy of your information for #{Rails.configuration.hackathon['name']}.
          = link_to "Back to RSVP page »".html_safe, rsvp_path
      - else
        %p
          You have not RSVP'd yet!
          %br
          %br
          = 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!

  .participant_info
    %p Below is a copy of your application.

    = render partial: 'questionnaire_summary'

    %p
      = btn_link_to '<span class="fa fa-pencil icon-space-r"></span> Edit Application'.html_safe, edit_questionnaires_path
      - if !@questionnaire.user.provider
        = btn_link_to '<span class="fa fa-user icon-space-r"></span> Edit Account'.html_safe, edit_user_registration_path
    %p
      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

5 entries across 5 versions & 1 rubygems

Version Path
hackathon_manager-0.4.4 app/views/questionnaires/show.html.haml
hackathon_manager-0.4.3 app/views/questionnaires/show.html.haml
hackathon_manager-0.4.2 app/views/questionnaires/show.html.haml
hackathon_manager-0.4.1 app/views/questionnaires/show.html.haml
hackathon_manager-0.4.0 app/views/questionnaires/show.html.haml