osem-fcy/app/views/admin/volunteers/index.html.haml
2014-05-22 18:19:07 +02:00

14 lines
590 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