This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/components/delete-button/template.hbs
2015-11-16 10:32:49 -07:00

12 lines
365 B
Handlebars

{{#unless showConfirmDelete}}
<button class="button-red smaller delete" {{action "initialClick"}}>
Delete
</button>
{{else}}
<button class="button-red smaller delete-confirm" {{action "confirmDelete"}}>
Confirm Delete
</button>
<button class="button-gray smaller delete-cancel" {{action "cancelDelete"}}>
Cancel Delete
</button>
{{/unless}}