Browse Source

Add feedback messages to base template

(with Foundation markup)
pull/6/head
Marcio Mazza 10 years ago
parent
commit
9dff1815d2
  1. 9
      templates/base.html

9
templates/base.html

@ -26,6 +26,15 @@
{% block content_container %}
{# FIXME: row class is not for that: replace it keeping the layout (notice width) #}
<div id="body_content" class="row">
{# Feedback messages #}
{% for message in messages %}
<div data-alert class="alert-box {% if message.tags == 'error' %}alert{% else %}{{ message.tags }}{% endif %} radius">
{{ message|safe }}
<a href="#" class="close">&times;</a>
</div>
{% endfor %}
{% block content %}{% endblock %}
</div>
{% endblock %}

Loading…
Cancel
Save