{% load i18n chimere_tags inline_formset staticfiles bootstrap startswith %} {% if submited %}{% submited %}{% endif %} {% if error_message %}
{% trans "Error" %}

{{ error_message }}

{% endif %}
{% if is_modification and is_superuser %}

{% trans "You are logged as an administrator. Your modifications will be taking into account immediately." %}

{% endif %}
{% block editactions %} {% for main_action, subactions in actions %} {% ifequal main_action.id 'contribute' %} {% endifequal %} {% endfor %} {% endblock %}
{% csrf_token %}

* {% trans "indicates a mandatory field" %}

{% if form.name.errors %}
{{ form.name.errors }}
{% endif %} {{ form.name }}
{% if form.categories.errors %}
{{ form.categories.errors }}
{% endif %} {{ form.categories }}
{% block geometry %} {% endblock %}
{{ form.description.errors }} {{ form.description }}

{{ form.description.help_text }}

{% if form.keywords %}
{{ form.keywords.errors }} {{ form.keywords }}

{{ form.keywords.help_text }}

{% endif %} {% if dated %}
{{ form.start_date.errors }} {{ form.start_date }}

{{ form.start_date.help_text }}

{{ form.end_date.errors }} {{ form.end_date }}

{{ form.end_date.help_text }}

{% endif %}
{% for field in form %}{% if field.name|startswith:'property_' %} {% for property in properties %}{% ifequal field.name property.getNamedId %}
{% if field.errors %}
{{ field.errors }}
{% endif %} {{ field }}
{% endifequal %}{% endfor %}{% endif %}{% endfor %}
{% inline_formset "Multimedia files" formset_multi %} {% inline_formset "Picture files" formset_picture %} {% if filtered_properties %} {% endif %}
{% trans "Personal information"%}
{% if form.submiter_name.errors %}
{{ form.submiter_name.errors }}
{% endif %} {{ form.submiter_name }}
{% if form.submiter_email.errors %}
{{ form.submiter_email.errors }}
{% endif %} {{ form.submiter_email }}
{% if form.submiter_comment.errors %}
{{ form.submiter_comment.errors }}
{% endif %} {{ form.submiter_comment }}
{% bootstrap_modal "upload_in_progress" %}