Commit 0ee83e1e authored by Moreau Elise's avatar Moreau Elise
Browse files

add section for flash messages in layout template

parent 0c8e6523
......@@ -54,11 +54,11 @@
{% endblock %}
<div class="content" id="content">
{% if message %}
<div class="ui message">
{{message}}
</div>
{% endif %}
{% for message in flashMessages %}
<div class="ui message">
{{message[0]}}
</div>
{% endfor %}
{% block content %} {% endblock %}
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment