Configure language of events

This commit is contained in:
Ana 2016-03-21 00:18:20 +01:00
parent ad0a8eecf2
commit 6c87995050
16 changed files with 115 additions and 16 deletions

View file

@ -14,6 +14,11 @@
data: { min_words: type.minimum_abstract_length, max_words: type.maximum_abstract_length }]},
include_blank: false, label: 'Type', input_html: { class: 'select-help-toggle' }
- if @program.languages.present?
= f.input :language, as: :select,
collection: @languages,
include_blank: false, label: 'Language', input_html: { class: 'select-help-toggle' }
- @conference.program.event_types.each do |event_type|
%span{ class: 'help-block select-help-text event_event_type_id collapse', id: "#{event_type.id}-help" }
= event_type.description