15 lines
450 B
Plaintext
15 lines
450 B
Plaintext
- model_class = Supplier
|
|
.page-header
|
|
= title :show, @supplier
|
|
|
|
dl.dl-horizontal.show-list
|
|
dt= model_class.human_attribute_name(:name) + ':'
|
|
dd= @supplier.name
|
|
|
|
.form-actions
|
|
= link_to t("helpers.links.back"), suppliers_path, class: 'btn'
|
|
'
|
|
= link_to t('helpers.links.edit'), [:edit, @supplier], class: 'btn'
|
|
'
|
|
= link_to t("helpers.links.destroy"), @supplier, method: :delete, data: {confirm: are_you_sure? }, class: 'btn btn-danger'
|