clarion/app/views/management/events/edit.html.slim

23 lines
766 B
Plaintext
Raw Normal View History

2015-07-14 21:00:02 +03:00
.row
.col-lg-12
= simple_nested_form_for [:management, @conference, @event], wrapper: :horizontal_form, html: { class: 'form-horizontal' } do |f|
2015-07-14 21:00:02 +03:00
.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'
2015-07-14 21:00:02 +03:00
.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'