ccdb-web/app/templates/components/crud-form.hbs

15 lines
390 B
Handlebars

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