Add image to product
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
- model_class = Product
|
||||
.page-header= title :show, @product
|
||||
|
||||
- if @product.image.present?
|
||||
.display-panel= image_tag @product.image.url(:medium)
|
||||
.display-row
|
||||
.display-label
|
||||
span data-t='attributes.product.name'
|
||||
|
||||
Reference in New Issue
Block a user