clarion/app/views/management/conferences/_form.html.slim

42 lines
1.3 KiB
Plaintext
Raw Normal View History

2014-10-14 18:27:28 +03:00
= 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
2015-08-15 06:15:18 +03:00
= f.input :host_name
= f.input :planned_cfp_end_date
2014-10-14 18:27:28 +03:00
= f.input :start_date, as: :date
= f.input :end_date, as: :date
= f.input :description
2016-10-11 01:52:19 +03:00
= f.input :vote_data_endpoint
2014-10-14 23:07:50 +03:00
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
2014-10-14 23:07:50 +03:00
.row
.col-lg-12
h2 = Hall.model_name.human(count: 2).mb_chars.capitalize
.row
= render partial: 'form_halls', locals: {form: f}
hr
2014-10-14 18:27:28 +03:00
.row
.col-lg-12
h2 = Track.model_name.human(count: 2).mb_chars.capitalize
.row
= render partial: 'form_tracks', locals: {form: f}
2015-09-01 11:09:26 +03:00
hr
.row
.col-lg-12
h2 = VolunteerTeam.model_name.human(count: 2).mb_chars.capitalize
.row
= render partial: 'form_volunteer_teams', locals: {form: f}
2014-10-14 18:27:28 +03:00
.panel-footer.text-right
= f.submit class: 'btn btn-primary'