{% load i18n ui %}{% comment %} Alert. Parameters: kind ("info", "success", "warning", "error"), title (optional), message, action_label and action_href (optional link), dismissible (adds a close button, handled by ui.js), live ("polite" or "assertive" for alerts added after the page loads). {% endcomment %}
{% if kind == "success" %}{% icon "check-circle" %}{% elif kind == "warning" %}{% icon "warning" %}{% elif kind == "error" or kind == "danger" %}{% icon "error" %}{% else %}{% icon "info" %}{% endif %}
{% if title %}

{{ title }}

{% endif %}

{{ message }}{% if action_href %} {{ action_label }}{% endif %}

{% if dismissible %} {% endif %}