initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
- 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'
|
||||
Reference in New Issue
Block a user