Add logs and block for templates

This commit is contained in:
Retspen
2015-03-03 11:34:09 +02:00
parent 55e93a9087
commit 5960e94da5
35 changed files with 183 additions and 29 deletions

View File

@@ -0,0 +1,8 @@
{% if error_messages %}
{% for error in error_messages %}
<div class="alert alert-danger alert-dismissible" role="danger">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<strong>Error:</strong> {{ error }}
</div>
{% endfor %}
{% endif %}