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

20 lines
694 B
Plaintext
Raw Normal View History

2014-10-14 23:07:50 +03:00
div#halls
= form.simple_fields_for :halls do |ff|
2014-10-14 23:55:17 +03:00
.col-md-4
2014-10-14 23:07:50 +03:00
.panel.panel-default
.panel-heading
.panel-title
= Hall.model_name.human.mb_chars.capitalize
= ff.link_to_remove fa_icon(:remove), class: ['btn', 'btn-danger', 'btn-xs', 'pull-right']
span.clearfix
.panel-body
= ff.input :name
2014-10-14 23:55:17 +03:00
.col-md-4
2014-10-14 23:07:50 +03:00
.panel.panel-default
.panel-heading
.panel-title
= t 'actions.new.title_f', model: Hall.model_name.human
.panel-body
.form-group.text-center
= form.link_to_add t('actions.create.button', model: Hall.model_name.human), :halls, data: {target: '#halls'}, class: 'btn btn-success'