first commit
This commit is contained in:
31
templates/frontend/basic/alert.html.twig
Normal file
31
templates/frontend/basic/alert.html.twig
Normal file
@@ -0,0 +1,31 @@
|
||||
{% for notice in app.flashes('primary') %}
|
||||
<div class="alert alert-primary" role="alert">
|
||||
<b>{{ notice.title }}:</b> {{ notice.message|raw }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
{% for notice in app.flashes('success') %}
|
||||
<div class="alert alert-success" role="alert">
|
||||
<font size="4">
|
||||
<b>{{ notice.title }}:</b> {{ notice.message|raw }}
|
||||
</font>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
{% for notice in app.flashes('danger') %}
|
||||
<div class="alert alert-danger" role="alert">
|
||||
<b>{{ notice.title }}:</b> {{ notice.message|raw }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
{% for notice in app.flashes('warning') %}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
<b>{{ notice.title }}:</b> {{ notice.message|raw }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
{% for notice in app.flashes('info') %}
|
||||
<div class="alert alert-info" role="alert">
|
||||
<b>{{ notice.title }}:</b> {{ notice.message|raw }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user