app/views/questionnaires/show.html.haml in hackathon_manager-0.1.0 vs app/views/questionnaires/show.html.haml in hackathon_manager-0.2.0

- old
+ new

@@ -1,8 +1,8 @@ - title "Application" -%div{class:'form-success'} - %div{class:'success_message'} +.form-success + .success_message %p#notice= notice - if @questionnaire.can_rsvp? - if @questionnaire.did_rsvp? %p Below is a copy of your information for BrickHack. @@ -17,14 +17,16 @@ - if Rails.configuration.hackathon['registration_is_open'] %p Thanks for applying! You will be notified of your acceptance via email. - else %p Thanks for applying! - %div{class:'participant_info'} + .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}