c6750d3a1a
Would be more straightforward to work with, even if it's a bit more verbose sometimes.
23 lines
766 B
Plaintext
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'
|