Add title to the tracks drop-down

This commit is contained in:
Petko Bordjukov 2015-08-15 08:56:50 +03:00
parent 59c9f79d13
commit 358a7da0e8
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
.form-inputs .form-inputs
= form.input :title, autofocus: true = form.input :title, autofocus: true
= form.input :subtitle = 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) -# TODO length is different for different types of events (translation problem)
= form.input :length = form.input :length