{% block head %} {% block title %} {% endblock %} {% block head_style %} {% endblock %} {% endblock %}
{% block main %} {% block messages %} {% if app.session.flashbag.peekAll|length > 0 %} {% for type, messages in app.session.flashbag.all %} {% for message in messages %}
{{ message|trans|raw }}
{% endfor %} {% endfor %} {% endif %} {% endblock %} {% block content %} {% endblock content %} {% endblock main %}
{# we had to do this to prevent loading js stack when not logged in#}