{% extends "plainui/base.html" %} {% import "plainui/components/form_elements.html" as formElements %} {% import "plainui/components/markdown.html" as markdownMacro %} {% block title %}{{conf.name}} - {{ page.title }}{% endblock %} {% block content %}
{% if not writeable %}
{{ _("Sorry, you don't have permission to edit this wiki page.") }} {{ _("If you think this is an error please use the report functionality on this page and select 'technical issue'.") }}
{% elif page.is_localized %}
{{ _("Localized page.") }} {{ _("Please note that this page is present in the current language only. It may have a (translated) copy in other language or not exist there at all.") }}
{% endif %} {% if preview_body is defined %}
{{ markdownMacro.markdown(markdown=preview_body | safe) }}
{% endif %}
{%- if not_latest_revision %} {%- endif %} {{ csrf_input }} {{ formElements.errors(form) }} {{ formElements.field(form, 'title') }} {{ formElements.textarea(form, 'body') }}
{%- if writeable %} {%- endif %}
{% endblock %}