many changes
This commit is contained in:
@@ -8,9 +8,8 @@ dl.dl-horizontal.show-list
|
||||
dd= @product.code
|
||||
dt= model_class.human_attribute_name(:price)
|
||||
dd=currency @product.price
|
||||
- if @product.product_category.present?
|
||||
dt= ProductCategory.model_name.human
|
||||
dd= link_to @product.product_category.name, @product.product_category
|
||||
dt= ProductCategory.model_name.human_plural
|
||||
dd= @product.category_links(namespace: :suppliers)
|
||||
|
||||
.form-actions
|
||||
= link_to t("helpers.links.back"), suppliers_products_path, class: 'btn'
|
||||
|
||||
Reference in New Issue
Block a user