ccdb-web/app/templates/components/confirm-button.hbs

6 lines
276 B
Handlebars

{{#if showConfirm}}
{{action-button isDanger=true label=cancelLabel onClick=(action 'cancel')}}
{{action-button isSuccess=true label=confirmLabel onClick=(action 'confirm')}}
{{else}}
{{action-button isDanger=true label=initialLabel onClick=(action 'initial')}}
{{/if}}