framework/ember/app/templates/components/alert-message.hbs

10 lines
274 B
Handlebars
Raw Normal View History

<div {{bind-attr class=":alert alert.class"}}>
<span class="alert-text">{{alert.text}}</span>
<span class="alert-actions">
<a href="#">Undo</a> <!-- menu -->
{{#if alert.dismissable}}
<a href="#" {{action "close"}}>{{fa-icon "times"}}</a>
{{/if}}
</span>
</div>