include_blank true for type
This commit is contained in:
parent
d6478abcf9
commit
13cc541f69
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
= f.input :booth_type_id, as: :select,
|
||||
collection: conference.program.booth_types.map {|type| ["#{type.title}", type.id]},
|
||||
include_blank: false, label: 'Type', input_html: { class: 'select-help-toggle' } if conference.program.booth_types.any?
|
||||
include_blank: 'Please select a type ...', label: 'Type', input_html: { class: 'select-help-toggle' } if conference.program.booth_types.any?
|
||||
|
||||
- conference.program.booth_types.each do |booth_type|
|
||||
%span{ class: 'help-block select-help-text booth_booth_type_id collapse', id: "#{booth_type.id}-help" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue