- {{#each model.attachments as |attachment i|}}
+ {{#each model.attachments as |attachment index|}}
{{/each}}
diff --git a/web/app/templates/local-product/create.hbs b/web/app/templates/local-product/create.hbs
index 6457fe5..e64a507 100644
--- a/web/app/templates/local-product/create.hbs
+++ b/web/app/templates/local-product/create.hbs
@@ -20,7 +20,7 @@
{{input name=(concat 'imageTitles[' index ']') class='width-80' placeholder='Image title' value=image.title}}
- {{#a-btn data-rel="tooltip" title="Remove Image" click=(route-action 'removeImage' image)}}
+ {{#a-btn class="red" data-rel="tooltip" title="Remove Image" click=(route-action 'removeImage' image)}}
{{/a-btn}}
@@ -48,7 +48,7 @@
{{input name=(concat 'attachmentTitles[' index ']') class='width-80' placeholder='Attachment name' value=image.title}}
- {{#a-btn data-rel="tooltip" title="Remove Attachment" click=(route-action 'removeAttachment' attachment)}}
+ {{#a-btn class="red" data-rel="tooltip" title="Remove Attachment" click=(route-action 'removeAttachment' attachment)}}
{{/a-btn}}