{# One document, section by section. The whole file is still saveable, further down, folded. This is the form somebody uses: it carries the digest of the section as it was drawn, and a save that does not match it writes nothing. A heading the file carries twice gets no form at all, because there is nothing to address it by. #} {% macro editor(sections, action) %} {% for section in sections %}

{{ section.heading }}{% if section.unvalidated %} {{ t('profile.unvalidated') }}{% endif %}

{% if section.unvalidated %}

{{ t('profile.unvalidated_hint') }}

{% endif %}
{{ markdown(section.body) }}
{% if section.duplicate %}

{{ t('profile.duplicate') }}

{% else %}
{{ t('profile.section_edit') }}
{% endif %}
{% endfor %} {% endmacro %}