osem-fcy/app/views/admin/volunteers/index.html.haml
2017-03-20 18:27:39 +05:30

14 lines
569 B
Text

.row
.col-md-8
= semantic_form_for(@conference, url: admin_conference_volunteers_update_path(@conference.short_title)) do |f|
= f.action :submit, as: :button, button_html: {class: 'btn btn-primary'}
%br
%br
= f.input :use_volunteers, label: 'Enable Volunteering'
.row
.col-md-6
= f.input :use_vdays, label: false
= dynamic_association :vdays, "Volunteer Days", f
.col-md-6
= f.input :use_vpositions, label: false
= dynamic_association :vpositions, "Volunteer positions", f