{{yield}} {{#if (not loading)}} {{#each flashMessages.queue as |flash|}} {{#flash-message flash=flash as |component flash|}} {{! flashes automatically ucfirst the type }} {{if (eq component.flashType 'Success') 'Success!' 'Error!'}} {{#yield-slot 'notification' (block-params (lowercase component.flashType) (lowercase flash.action) )}}{{yield}}{{/yield-slot}} {{/flash-message}} {{/each}} {{#yield-slot 'actions'}}{{yield}}{{/yield-slot}} {{#yield-slot 'breadcrumbs'}}{{yield}}{{/yield-slot}} {{#yield-slot 'header'}}{{yield}}{{/yield-slot}} {{#yield-slot 'toolbar'}} {{yield}} {{/yield-slot}} {{/if}}
{{if (eq component.flashType 'Success') 'Success!' 'Error!'}} {{#yield-slot 'notification' (block-params (lowercase component.flashType) (lowercase flash.action) )}}{{yield}}{{/yield-slot}}