initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
- model_class = Table
|
||||
.page-header= title :show, @table
|
||||
|
||||
dl.dl-horizontal.show-list
|
||||
dt= model_class.human_attribute_name(:number)
|
||||
dd= @table.number
|
||||
- if @table.supplier.present?
|
||||
dt= Supplier.model_name.human
|
||||
dd= link_to @table.supplier.name, @table.supplier
|
||||
|
||||
.form-actions
|
||||
= link_to t("helpers.links.back"), tables_path, class: 'btn'
|
||||
'
|
||||
= link_to t('helpers.links.edit'), [:edit, @table], class: 'btn'
|
||||
'
|
||||
= link_to t("helpers.links.destroy"), @table, method: :delete, data: {confirm: are_you_sure? }, class: 'btn btn-danger'
|
||||
Reference in New Issue
Block a user