{{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!'}} {{flash.message}}

{{/flash-message}} {{/each}}
{{#yield-slot 'actions'}}{{yield}}{{/yield-slot}}
{{#yield-slot 'header'}}{{yield}}{{/yield-slot}}
{{#yield-slot 'toolbar'}}{{yield}}{{/yield-slot}}
{{/if}}
{{#if loading}} {{partial 'consul-loading'}} {{else}} {{#yield-slot 'content'}}{{yield}}{{/yield-slot}} {{/if}}