Align buttons to the right

This commit is contained in:
David Cook
2024-02-06 14:51:13 +11:00
parent 8c6d3a27ec
commit 784f74f466

View File

@@ -9,7 +9,7 @@
%input{ type: :hidden, name: :return_url, value: return_url}
= f.hidden_field :viewable_id, value: product.id
%p
.modal-actions.justify-end
%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"