updating part2, far from finished
This commit is contained in:
@@ -14,14 +14,14 @@
|
||||
th.actions data-t="helpers.actions.title" =t 'helpers.actions.title'
|
||||
tbody
|
||||
- @products.each do |product|
|
||||
tr
|
||||
tr class="product-row-#{product.id}"
|
||||
td.link= link_to product.name, [:suppliers, product]
|
||||
td= product.code
|
||||
td.currency=currency product.price
|
||||
td.link= product.category_links namespace: :suppliers
|
||||
td.timestamp data-time=product.created_at.utc.iso8601
|
||||
td.actions
|
||||
= link_to t('helpers.links.edit'), [:edit, :suppliers, product], class: 'btn btn-mini'
|
||||
= link_to t('helpers.links.edit'), [:edit, :suppliers, product], class: 'btn btn-mini edit-resource-button'
|
||||
'
|
||||
= link_to t("helpers.links.destroy"), [:suppliers, product], method: :delete, data: {confirm: are_you_sure? }, class: 'btn btn-mini btn-danger'
|
||||
- else
|
||||
|
||||
Reference in New Issue
Block a user