osem-fcy/app/views/admin/volunteers/index.html.haml
Henne Vogelsang 81853d1ef9
Retire semantic_form_for
Also a buttload of form cleanups...
2022-02-24 15:52:34 +01:00

15 lines
515 B
Text

.row
.col-md-8
= form_for(@conference, url: admin_conference_volunteers_update_path(@conference.short_title)) do |f|
= f.submit nil, class: 'btn btn-primary'
.checkbox
%label
= f.check_box :use_volunteers
Enable Volunteering
.checkbox
%label
= f.check_box :use_vdays
= dynamic_association :vdays, "Volunteer Days", f
.col-md-6
= f.check_box :use_vpositions
= dynamic_association :vpositions, "Volunteer positions", f