diff --git a/lib/initfest/views/public/events/_form.slim b/lib/initfest/views/public/events/_form.slim index 28d1822..7c9fd38 100644 --- a/lib/initfest/views/public/events/_form.slim +++ b/lib/initfest/views/public/events/_form.slim @@ -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