clarion/app/views/management/events/edit.html.slim
Andrew Radev c6750d3a1a Nest everything under /conferences/:id/ again
Would be more straightforward to work with, even if it's a bit more
verbose sometimes.
2015-07-19 11:46:47 +03:00

23 lines
766 B
Plaintext

.row
.col-lg-12
= simple_nested_form_for [:management, @conference, @event], wrapper: :horizontal_form, html: { class: 'form-horizontal' } do |f|
.panel.panel-primary
.panel-heading
h1.panel-title
= t 'views.user.info'
= link_to icon(:eye), [:management, @conference, @event], class: 'btn btn-xs btn-info pull-right'
.panel-body
.row
.col-lg-12
= f.input :title
= f.input :subtitle
= f.input :length
= f.input :language, collection: %w(en bg)
= f.input :abstract
= f.input :description
= f.input :notes
.panel-footer.text-right
= f.submit class: 'btn btn-primary'