Add missing templates
This commit is contained in:
parent
377d7f7af7
commit
82b0405ab7
2 changed files with 48 additions and 0 deletions
12
templates/flash_msg.html
Normal file
12
templates/flash_msg.html
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{% with messages = get_flashed_messages() %}
|
||||
{% if messages %}
|
||||
{% for message in messages %}
|
||||
<div class="alert alert-success alert-dismissible" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
{{ message }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue