{%extends "admin/base_site.html"%} {%load pgfilters%} {%block breadcrumbs%} {%endblock%} {% block extrahead %} {{ block.super }} {% endblock %} {% block coltype %}colM{% endblock %} {%block content%}

Pending moderation

{%csrf_token%}
{% if errors %}

{% if errors|length == 1 %}Please correct the error below.{% else %}Please correct the errors below{% endif %}

{{ form.non_field_errors }} {% endif %}
{%if obj.is_approved%}

This {{itemtype}} has already been approved!

{%endif%}

{{itemtype|capfirst}}

{%for fld, title, contents, mdcontents, note in object_fields %}
{{title}}
{%if mdcontents%}
{{contents}}
{{mdcontents|safe}}
{%else%}
{{contents}} {%if note%}
{{note}}
{%endif%}
{%endif%}
{%endfor%} {%if user.is_staff %} Edit {{itemtype}} in admin view {%endif%}
{%if previous %}

Previous {{itemtypeplural}}

These are the latest {{itemtypeplural}} from this organisation:

{%for p in previous %} {%endfor%}
{{p.date}} {{p.modstate_string}} {{p.title}}
{%endif%} {%if notices%}

Moderation notices

These moderation notices have previously been sent for this item:

{%for n in notices %} {%endfor%}
{{n.date}} {{n.author}} {{n.text}}
{%endif%}

Moderation

{%if obj.is_approved%}

This {{itemtype}} has already been approved!

Be careful if you unapprove it!

{%endif%} {% for field in form %}
{{ field.label_tag }} {{ field }} {%if field.field.help_text %}
{{ field.help_text|safe }}
{%endif%}
{% endfor %}
{%endblock%}