0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Swap button-order on modal dialogs

Issue #4583

- Delete button should be on the right, cancel on the left, for all modal dialogs.
This commit is contained in:
Richard King 2014-12-10 16:02:27 +01:00
parent 823b5b4ea9
commit cb037241be

View file

@ -8,12 +8,12 @@
</section>
{{#if confirm}}
<footer class="modal-footer">
<button type="button" {{bind-attr class="acceptButtonClass :js-button-accept"}} {{action "confirm" "accept"}}>
{{confirm.accept.text}}
</button>
<button type="button" {{bind-attr class="rejectButtonClass :js-button-reject"}} {{action "confirm" "reject"}}>
{{confirm.reject.text}}
</button>
<button type="button" {{bind-attr class="acceptButtonClass :js-button-accept"}} {{action "confirm" "accept"}}>
{{confirm.accept.text}}
</button>
</footer>
{{/if}}
</section>