Add title to the tracks drop-down
This commit is contained in:
parent
59c9f79d13
commit
358a7da0e8
|
@ -7,7 +7,7 @@
|
|||
.form-inputs
|
||||
= form.input :title, autofocus: true
|
||||
= form.input :subtitle
|
||||
= form.association :track, wrapper: :default, collection: current_conference.tracks
|
||||
= form.association :track, wrapper: :default, collection: current_conference.tracks.map { |track| [track.name, track.id, {title: track.description}] }
|
||||
|
||||
-# TODO length is different for different types of events (translation problem)
|
||||
= form.input :length
|
||||
|
|
Loading…
Reference in New Issue