{% extends "attachments/base.html" %} {% load i18n %} {% block title %}{% trans "Add a new attachment" %}{% endblock %} {% block content %} {% load attachments %}
{% csrf_token %} {% if next %}
{% endif %} {% if form.errors %}

{% blocktrans count counter=form.errors|length %}Please correct the error below{% plural %}Please correct the errors below{% endblocktrans %}

{% else %}

{% trans "Add a new attachment "%}

{% endif %} {% for field in form %} {% if field.is_hidden %}
{{ field }}
{% else %} {% if field.errors %}{{ field.errors }}{% endif %} {% endif %} {% endfor %}

{% endblock %}