diff --git a/app/views/admin/products_v3/_edit_image.html.haml b/app/views/admin/products_v3/_edit_image.html.haml index 5c940979e4..7af268d64d 100644 --- a/app/views/admin/products_v3/_edit_image.html.haml +++ b/app/views/admin/products_v3/_edit_image.html.haml @@ -13,4 +13,4 @@ %input{ class: "secondary", type: 'button', value: t('.close'), "data-action": "click->modal#close" } -# label.button provides a handy shortcut to open the file selector on click. Unfortunately this trick isn't keyboard accessible though.. = f.label :attachment, t(".upload"), class: "button primary icon-upload-alt" - = f.file_field :attachment, style: "display: none", "data-action": "change->form#submit" + = f.file_field :attachment, accept: "image/*", style: "display: none", "data-action": "change->form#submit"