{%- if form.errors contains 'email' -%} {%- endif -%} {% endform %}