summaryrefslogtreecommitdiff
path: root/src/application/templates/bootstrap-3/components/alert_error.twig
diff options
context:
space:
mode:
Diffstat (limited to 'src/application/templates/bootstrap-3/components/alert_error.twig')
-rw-r--r--src/application/templates/bootstrap-3/components/alert_error.twig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/application/templates/bootstrap-3/components/alert_error.twig b/src/application/templates/bootstrap-3/components/alert_error.twig
new file mode 100644
index 0000000..f3f759b
--- /dev/null
+++ b/src/application/templates/bootstrap-3/components/alert_error.twig
@@ -0,0 +1,8 @@
+<div class="alert alert-danger" role="alert">
+ <span class="fa fa-exclamation-circle" aria-hidden="true"></span>
+ {% if message starts with "?!HTML::" %}
+ {{ message|slice(8)|raw }}
+ {% else %}
+ {{ message }}
+ {% endif %}
+</div>