{{ errorlist(revision_form) }} {% if collision %}

{% trans %} Please review the differences between your changes and the changes saved since you started editing. You may save again, but try to resolve any conflicts by hand so that the changes made since you started are not lost. {% endtrans %}

{{ _('Your Changes') }}

{{ _('Revision {id} by {user} on {date}')|fe(id=original_revision.id, user=original_revision.creator, date=datetimeformat(original_revision.created, format='longdatetime')) }}

{{ _('Current Revision:')|f(num=current_revision.id) }}

{{ _('Revision {id} by {user} on {date}')|fe(id=current_revision.id, user=current_revision.creator, date=datetimeformat(current_revision.created, format='longdatetime')) }}

{% set title = request.POST['title'] %} {% set slug = request.POST['slug'] %} {% set keywords = request.POST['request'] %} {% set summary = request.POST['summary'] %} {% if title and current_revision.title and title != current_revision.title %}

{{ _('Title:') }}

{{ title }}

{{ current_revision.title }}

{% endif %} {% if slug and current_revision.slug and slug != current_revision.slug %}

{{ _('Slug:') }}

{{ slug }}

{{ current_revision.slug }}

{% endif %} {% if tags and current_revision.tags and tags != current_revision.tags %}

{{ _('Tags:') }}

{{ tags }}

{{ current_revision.tags }}

{% endif %} {% if keywords and current_revision.keywords and keywords != current_revision.keywords %}

{{ _('Keywords:') }}

{{ keywords }}

{{ current_revision.keywords }}

{% endif %} {% if summary and current_revision.summary and summary != current_revision.summary %}

{{ _('Search results summary:') }}

{{ summary }}

{{ current_revision.summary }}

{% endif %} {% if content and current_revision.content and content != current_revision.content %}

{{ _('Content:') }}

{{ diff_table(content, current_content) }} {% endif %}
{% endif %}

{{ _('Editing {title}')|fe(title=revision.title) }}

{% if not section_id %} {% endif %}

{% trans %}Draft {% endtrans %}

{% if revision_form and not section_id %} {% endif %} {% if not collision %} {{ revision_form.current_rev | safe }} {% endif %} {% include 'wiki/includes/page_buttons.html' %}
{% if revision_form %} {{ revision_form.content | safe }} {% if document.is_template %}
{% endif %}
{% set tags = document.tags.all() %}

{{ _('Tags') }}

{{_('Review needed?')}}

{{ revision_form.review_tags|safe }}
{% endif %}