{% if messages %}
{% for msg in messages %}
{{ msg.title }}
{{ msg.text }}
{% endfor %}
{% endif %}