Volunteers, positions and days and volunteers list for admin, volunteering option for attendees
This commit is contained in:
parent
125d5fe3ff
commit
64b2b8b3f8
31 changed files with 335 additions and 79 deletions
16
app/views/conference_registration/_volunteer.html.haml
Normal file
16
app/views/conference_registration/_volunteer.html.haml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
.row
|
||||
.span12
|
||||
= f.input :volunteer, :label => "Click here if you want to become a volunteer at #{@conference.short_title}", :input_html => {:maxlength => 15, :size => 40}
|
||||
= f.fields_for :person do |p|
|
||||
= render :partial => 'devise/registrations/volunteerperson', :locals => {:p => p}
|
||||
|
||||
%br
|
||||
- if @conference.vpositions.count > 0
|
||||
%h4
|
||||
%u Positions that require volunteers:
|
||||
- @conference.vpositions.each do |pos|
|
||||
%p{:style => "font-weight:bold"}
|
||||
= pos.title
|
||||
= "(#{pos.description})" if pos.description
|
||||
|
||||
= f.input :vchoices, :collection => pos.vchoices.map {|x| [x.vday.day, x.id]}, :label => "Choose days to volunteer:"
|
||||
Loading…
Add table
Add a link
Reference in a new issue