Tables to ember with modal extension cq refactor

This commit is contained in:
2014-07-30 10:22:58 +02:00
parent 640dbc37b8
commit 1b83157de2
15 changed files with 120 additions and 40 deletions
+15 -13
View File
@@ -1,13 +1,15 @@
.page-header= title :show, @table
.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
- content_for :head do
= javascript_include_tag 'supplier/app/application'
/ .page-header= title :show, @table
/ .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