mirror of
https://git.wownero.com/wownero/wownero-funding-system.git
synced 2024-08-15 00:53:45 +00:00
Added alert template
This commit is contained in:
parent
4851805fd0
commit
e02796f287
1 changed files with 19 additions and 0 deletions
19
wowfunding/templates/messages.html
Normal file
19
wowfunding/templates/messages.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
{% with messages = get_flashed_messages() %}
|
||||
{% if messages %}
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
{% for message in messages %}
|
||||
{% if message.category != 'error' %}
|
||||
<div class="alert alert-success">
|
||||
{{ message }}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="alert alert-danger">
|
||||
{{ message }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endwith %}
|
Loading…
Reference in a new issue