ccdb-web/app/templates/components/crud-form.hbs
2017-10-01 16:49:43 -07:00

15 lines
408 B
Handlebars

{{#if hasBlock}}
{{yield (hash
content=(component 'form-content' changeset=changeset)
cancel=(component 'action-button'
label='Cancel'
isDanger=true
onClick=(action onCancel changeset))
save=(component 'action-button'
label='Save'
isSuccess=true
onClick=(action onSave changeset))
)}}
{{else}}
MISSING CONTENT BLOCK
{{/if}}