Include help data for event types in new proposal view
(Why doesn't the new view use the proposal form partial?)
This commit is contained in:
parent
cdbeb6ec4c
commit
2e61bc2948
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@
|
|||
= f.input :title, as: :string, required: true, input_html: { required: true }
|
||||
= f.input :event_type_id, as: :select,
|
||||
collection: @program.event_types.map {|type| ["#{type.title} - #{show_time(type.length)}", type.id,
|
||||
data: { min_words: type.minimum_abstract_length, max_words: type.maximum_abstract_length }]},
|
||||
data: { min_words: type.minimum_abstract_length, max_words: type.maximum_abstract_length, help: type.description }]},
|
||||
include_blank: false, label: 'Type', input_html: { class: 'select-help-toggle' }
|
||||
|
||||
- @program.event_types.each do |event_type|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue