osem-fcy/app/views/admin/schedules/_form.html.haml
Henne Vogelsang 81853d1ef9
Retire semantic_form_for
Also a buttload of form cleanups...
2022-02-24 15:52:34 +01:00

12 lines
421 B
Text

.row
.col-md-12
.page-header
%h1
New Track Schedule
.row
.col-md-12
= 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'