clarion/app/views/management/conferences/_form.html.slim
2016-10-11 01:52:19 +03:00

42 lines
1.3 KiB
Plaintext

= simple_nested_form_for [:management, @conference], wrapper: :horizontal_form, html: { class: 'form-horizontal' } do |f|
.panel.panel-primary
.panel-heading
h1.panel-title = t 'views.conference.info'
.panel-body
.row
.col-lg-12
= f.input :title
= f.input :email
= f.input :host_name
= f.input :planned_cfp_end_date
= f.input :start_date, as: :date
= f.input :end_date, as: :date
= f.input :description
= f.input :vote_data_endpoint
hr
.row
.col-lg-12
h2 = EventType.model_name.human(count: 2).mb_chars.capitalize
.row
= render partial: 'form_event_types', locals: {form: f}
hr
.row
.col-lg-12
h2 = Hall.model_name.human(count: 2).mb_chars.capitalize
.row
= render partial: 'form_halls', locals: {form: f}
hr
.row
.col-lg-12
h2 = Track.model_name.human(count: 2).mb_chars.capitalize
.row
= render partial: 'form_tracks', locals: {form: f}
hr
.row
.col-lg-12
h2 = VolunteerTeam.model_name.human(count: 2).mb_chars.capitalize
.row
= render partial: 'form_volunteer_teams', locals: {form: f}
.panel-footer.text-right
= f.submit class: 'btn btn-primary'