{% load i18n %}{# Submission details of the contact form emails: key-value rows, then the form body. #} {% trans "Email" as email_default %}{% trans "Type" as type_default %}{% trans "Form" as form_default %}{% trans "Code" as code_default %}{% trans "Body" as body_default %} {% include 'base/partials/summary_row.html' with label=label_email|default:email_default amount=form_email currency="" strong=False wrap=True %} {% if form_type %}{% include 'base/partials/summary_row.html' with label=label_type|default:type_default amount=form_type currency="" strong=False wrap=True %}{% endif %} {% if form_slug %}{% include 'base/partials/summary_row.html' with label=label_form|default:form_default amount=form_slug currency="" strong=False wrap=True %}{% endif %} {% if form_code %}{% include 'base/partials/summary_row.html' with label=label_code|default:code_default amount=form_code currency="" strong=False wrap=True %}{% endif %}
{% for row in form_body_rows %}

{% firstof row.label label_body body_default %}
{{ row.value|linebreaksbr }}

{% empty %}{% if form_body %}

{% firstof label_body body_default %}
{{ form_body|linebreaksbr }}

{% endif %}{% endfor %}