{% comment %} Copyright 2009 - Participatory Culture Foundation This file is part of Miro Community. Miro Community is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Miro Community is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with Miro Community. If not, see . {% endcomment %} {% load i18n uploadtemplate_tags %} {% if request.user.is_authenticated %}

Posting as {{ request.user.username }}

{% endif %} {% for field in form %} {% if field.is_hidden %} {{ field }} {% else %} {% ifequal field.name "captcha" %} {% if not user_is_admin %} {{ field.errors }} {% if not request.is_ajax %} {{ field }} {% else %}
{% endif %} {% endif %} {% else %} {% ifnotequal field.name "name" %}{% ifnotequal field.name "email" %}{% ifnotequal field.name "url" %} {% endifnotequal %}{% endifnotequal %}{% endifnotequal %} {% endifequal %} {% endif %} {% endfor %} {% if request.user.is_authenticated %} {% else %} {{ form.name.errors }} {{ form.name.label_tag }} {{ form.name }}

{{ form.email.errors }} {{ form.email.label_tag }} {{ form.email }}

{% endif %} {% if not sitelocation.screen_all_comments or user_is_admin %} {% endif %}