summaryrefslogtreecommitdiff
path: root/src/application/templates/modern/components/alert_error.twig
blob: ba14ba53fa9e9af24d9460ecda22928abb5d985e (plain)
1
2
3
4
5
6
7
8
<div class="alert alert-danger" role="alert">
    <svg viewBox="0 0 24 24" class="icon"><circle cx="12" cy="12" r="10"/><path d="m15 9-6 6"/><path d="m9 9 6 6"/></svg>
    {% if message starts with "?!HTML::" %}
        {{ message|slice(8)|raw }}
    {% else %}
        <span>{{ message }}</span>
    {% endif %}
</div>