Merge pull request #42 from differentreality/proposal_event_types
Show length of event types in new proposal drop down
This commit is contained in:
commit
406b7dcd2d
3 changed files with 18 additions and 1 deletions
|
|
@ -14,7 +14,7 @@
|
|||
%br
|
||||
%br
|
||||
- else
|
||||
= f.input :event_type_id,:as => :select, :collection => @event_types, :include_blank => false, :label => "Session Type"
|
||||
= f.input :event_type_id,:as => :select, :collection => @event_types.map {|x| ["#{x.title} - #{show_time(x.length)}", x.id]}, :include_blank => false, :label => "Session Type"
|
||||
= f.input :require_registration
|
||||
= f.input :abstract, :input_html => {:rows => 5, :class => "span11"},
|
||||
:required => true, :label => "Session Abstract"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue