Search

    form test

    {% form 'contact' %} {% if form.posted_successfully? %} {% endif %} {% if form.errors %}

    {{ 'general.forms.post_error' | t }}

      {% for field in form.errors %} {% if field == 'form' %}
    • {{ form.errors.messages[field] }}
    • {% else %}
    • {{ field | replace: 'body', 'Message' }} {{ form.errors.messages[field] }}
    • {% endif %} {% endfor %}
    {% endif %}

    {% endform %}
    ×