fix registration page, only show volunteering tab if option is enabled for the conference

This commit is contained in:
Stella 2014-03-04 22:22:52 +02:00
parent 04e06ac251
commit 8f8824ecd6
7 changed files with 69 additions and 72 deletions

View file

@ -7,9 +7,11 @@
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}
%br
%br
.span5
= f.input :use_vdays, :label => false
= dynamic_association :vdays, "Volunteer Days", f
.span5
= f.input :use_vpositions, :label => false
= dynamic_association :vpositions, "Volunteer positions", f
= f.input :use_volunteers, :label => "Enable Volunteering"
.row-fluid
.span6
= f.input :use_vdays, :label => false
= dynamic_association :vdays, "Volunteer Days", f
.span6
= f.input :use_vpositions, :label => false
= dynamic_association :vpositions, "Volunteer positions", f