Retire semantic_form_for
Also a buttload of form cleanups...
This commit is contained in:
parent
350b1ebbbe
commit
81853d1ef9
136 changed files with 1825 additions and 1441 deletions
|
|
@ -5,6 +5,8 @@
|
|||
New Track Schedule
|
||||
.row
|
||||
.col-md-12
|
||||
= semantic_form_for @schedule, url: admin_conference_schedules_path(@conference.short_title) do |f|
|
||||
= f.input :track, collection: Track.accessible_by(current_ability).where(program: @program).self_organized.confirmed.pluck(:name, :id), include_blank: false
|
||||
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }
|
||||
= form_for @schedule, url: admin_conference_schedules_path(@conference.short_title) do |f|
|
||||
.form-group
|
||||
= f.select :track, Track.accessible_by(current_ability).where(program: @program).confirmed.pluck(:name, :id), { include_blank: false }, { class: 'form-control' }
|
||||
= f.submit nil, class: 'btn btn-primary'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue