{% extends 'wiki/base.html' %} {% load i18n %} {% load wlimages_extras %} {% block title %} {% trans "Editing" %} {{ article.title }} - {{ block.super }} {% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %} {% if not new_article %}
{% trans "Back to article" %} | {% trans "Editing history" %}
{% endif %}

{% trans "Editing" %} {{ article.title }}

You can edit the wiki pages contents using the syntax described on the WikiSyntax.

{{ form.title.errors }}{{ form.title }}
{{ form.content.errors }}{{ form.content }}
{{ form.summary.errors }}{{ form.summary }}
{{ form.comment.errors }}{{ form.comment }}
{{ form.content_type }} {{ form.object_id }} {{ form.action }} {{ form.user_ip }}
{% ifequal new_article 0 %} {% endifequal %}
{% csrf_token %}

Images

{% if new_article %} You must save the article once before you can attach images to it. {% else %} {% if images.count %} Images attached to this article: {% for img in images %} {# Show only one code snippet if the image is greater than 700px #} {% if img.image.width > 700 %} {# otherwise provide all options #} {% else %} {% endif %}
Name: {{ img.name}}
Properties:
Width:
{{ img.image.width }} px
Height:
{{ img.image.height }} px
Filesize:
{{ img.image.size|filesizeformat }}
Code to use in article:[![{{img.name}}]({{ img.url }})]({{ img.url }})
![{{img.name}}]({{ img.url }})
Right aligned: ![{{img.name}}]({{ img.url }}){: .right}
Left aligned: ![{{img.name}}]({{ img.url }}){: .left}
{% endfor %} {% endif %} {% get_upload_form as iform %}
{{ iform.as_p }}
{% csrf_token %}
{% endif%}
{% endblock %}