22 lines
900 B
Plaintext
22 lines
900 B
Plaintext
- model_class = Section
|
|
.page-header= title :show, @section
|
|
dl.dl-horizontal.show-list
|
|
dt= model_class.human_attribute_name(:title)
|
|
dd= @section.title
|
|
dl.dl-horizontal.show-list
|
|
dt= model_class.human_attribute_name(:width)
|
|
dd= @section.width
|
|
dl.dl-horizontal.show-list
|
|
dt= model_class.human_attribute_name(:height)
|
|
dd= @section.height
|
|
.form-actions
|
|
= link_to t("helpers.links.back"), suppliers_sections_path, class: 'btn'
|
|
'
|
|
= link_to t('helpers.links.edit'), [:edit, :suppliers, @section], class: 'btn'
|
|
'
|
|
= link_to t('supplier.section.manage_tables'), [:manage_tables, :suppliers, @section], class: [:btn, 'btn-warning']
|
|
'
|
|
= link_to t('supplier.section.tables_view'), [:tables_view, :suppliers, @section], class: [:btn, 'btn-info']
|
|
'
|
|
= link_to t("helpers.links.destroy"), [:suppliers, @section], method: :delete, data: {confirm: are_you_sure? }, class: 'btn btn-danger'
|