{% comment %} We assume that if there are messages in the session, this means that a form has been submitted and we are displaying a success message. {% endcomment %} {% if messages %} {% endif %}