2014-08-30 19:59:33 +03:00
|
|
|
== simple_form_for @workshop do |form|
|
|
|
|
p
|
|
|
|
= form.error_notification
|
|
|
|
|
|
|
|
.form-inputs
|
|
|
|
= form.input :title, autofocus: true
|
|
|
|
= form.input :subtitle
|
2014-09-07 00:02:00 +03:00
|
|
|
= form.input :track_id, collection: Conference.current.tracks.map { |track| [track.name, track.id, {title: track.description}] }, required: true
|
2014-08-30 19:59:33 +03:00
|
|
|
= form.input :length, input_html: {value: 60}
|
|
|
|
= form.input :language, collection: I18n.available_locales, include_blank: false, default: I18n.locale
|
|
|
|
= form.input :abstract
|
|
|
|
= form.input :description
|
|
|
|
= form.input :notes
|
2014-09-04 00:39:54 +03:00
|
|
|
= form.input :agreement, as: :boolean
|
2014-08-30 19:59:33 +03:00
|
|
|
= form.button :submit
|