{{yield}} {{#if (not loading)}}
{{#each flashMessages.queue as |flash|}} {{! flashes automatically ucfirst the type }}

{{component.flashType}}! {{yield}}

{{/each}}
{{#if authorized}} {{yield}} {{/if}}
{{#if authorized}} {{/if}} {{yield}}
{{#if authorized}} {{yield}} {{/if}}
{{/if}}
{{#if loading}} {{partial 'consul-loading'}} {{else}} {{#if (not enabled) }} {{yield}} {{else if (not authorized)}} {{yield}} {{else}} {{yield}} {{/if}} {{/if}}