Files
mozo-backend/app/views/suppliers/show.html.slim
T
2012-08-22 18:15:37 +02:00

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'