diff options
Diffstat (limited to 'src/application/templates/modern/components/alert_info.twig')
-rw-r--r-- | src/application/templates/modern/components/alert_info.twig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/application/templates/modern/components/alert_info.twig b/src/application/templates/modern/components/alert_info.twig new file mode 100644 index 0000000..6559ac2 --- /dev/null +++ b/src/application/templates/modern/components/alert_info.twig @@ -0,0 +1,8 @@ +<div class="alert alert-info" role="alert"> + <svg viewBox="0 0 24 24" class="icon"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg> + {% if message starts with "?!HTML::" %} + {{ message|slice(8)|raw }} + {% else %} + <span>{{ message }}</span> + {% endif %} +</div> |