app/views/questionnaires/_form.html.haml in hackathon_manager-0.5.2 vs app/views/questionnaires/_form.html.haml in hackathon_manager-0.5.3
- old
+ new
@@ -30,9 +30,12 @@
.right
%button.button{ type: "button", "data-wizard" => "next" } Next
.wizard-stage
.form-inputs
+ - if HackathonManager.field_enabled?(:why_attend)
+ = f.input :why_attend, label: "Why #{Rails.configuration.hackathon['name']}?", placeholder: "In a sentence or two, why would you like to attend #{Rails.configuration.hackathon['name']}?", input_html: { rows: 3, maxlength: 280 }
+
= f.input :experience, as: :select, collection: Questionnaire::POSSIBLE_EXPERIENCES.invert, include_blank: "(select one...)", label: "Experience", input_html: { "data-validate" => "presence" }, wrapper_html: { class: 'input--half' }
= f.input :interest, as: :select, collection: Questionnaire::POSSIBLE_INTERESTS.invert, include_blank: "(select one...)", label: "Interest", input_html: { "data-validate" => "presence" }, wrapper_html: { class: 'input--half' }
= f.input :portfolio_url, label: "Portfolio link", placeholder: "http://mywebsite.com"
= f.input :vcs_url, label: "GitHub/Bitbucket link", placeholder: "https://github.com/coderit"