End of week commit
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
- 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.section.present?
|
||||
dt= Section.model_name.human
|
||||
dd= link_to @table.section.title, [:suppliers, @table.section]
|
||||
.display-row
|
||||
.display-label
|
||||
span data-t='attributes.table.number'
|
||||
.display-field
|
||||
span= @table.number
|
||||
- if @table.section.present?
|
||||
.display-row
|
||||
.display-label
|
||||
span data-t='models.section'
|
||||
.display-field
|
||||
span= link_to @table.section.title, [:suppliers, @table.section]
|
||||
= supplier_form_actions :index, :edit, :destroy, object: @table, for: :tables
|
||||
|
||||
Reference in New Issue
Block a user