app/views/manage/questionnaires/_form.html.haml in hackathon_manager-0.13.12 vs app/views/manage/questionnaires/_form.html.haml in hackathon_manager-0.14.0

- old
+ new

@@ -29,11 +29,11 @@ .col-xl-6 .card.mb-4 .card-header Resume .card-body - 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 :why_attend, label: "Why #{HackathonConfig['name']}?", placeholder: "In a sentence or two, why would you like to attend #{HackathonConfig['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" } = f.input :interest, as: :select, collection: Questionnaire::POSSIBLE_INTERESTS.invert, include_blank: "(select one...)", label: "Interest", input_html: { "data-validate" => "presence" } = f.input :graduation_year, as: :select, collection: Questionnaire::POSSIBLE_GRAD_YEARS, include_blank: "(select one...)", label: "Graduation year", input_html: { "data-validate" => "presence" }, wrapper_html: { class: 'input--half' } @@ -62,13 +62,13 @@ .card.mb-4 .card-header Agreements .card-body .supporting-text Please read the - = link_to asset_url(Rails.configuration.hackathon['agreement_pdf_asset']), target: '_blank' do - #{Rails.configuration.hackathon['name']} Agreement + = link_to asset_url(HackathonConfig['agreement_pdf_asset']), target: '_blank' do + #{HackathonConfig['name']} Agreement %span.fa.fa-external-link.icon-space-l-half - = f.input :agreement_accepted, label: "I accept the #{Rails.configuration.hackathon['name']} agreement.", input_html: { "data-validate" => "presence" } + = f.input :agreement_accepted, label: "I accept the #{HackathonConfig['name']} agreement.", input_html: { "data-validate" => "presence" } .supporting-text Please read the %a{ href:"http://static.mlh.io/docs/mlh-code-of-conduct.pdf", target: "_blank" } MLH Code of Conduct