{% for label, messages in app.flashes(['success', 'warning', 'danger', 'info', 'primary']) %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endfor %}
-
{% if prev_page %}
- Предыдущая страница {% endif %} {% if next_page %}
- Следующая страница {% endif %}