{% extends "base.html" %} {% load i18n inline_formset table_form from_dict %} {% block extra_head %} {{form.media}} {% endblock %} {% block pre_container %}
{% csrf_token %} {% endblock %} {% block content %}

{{page_name}}

{% if form.non_field_errors or form.errors %}
{% trans "Error on validation. Check all your fields. Modification not saved." %}
{% for key, error_details in form.errors.items %} {% with field=key|from_dict:form.fields %}{{ field.label }}{{error_details}}{% endwith %} {% endfor %}
{% endif %} {% if item_related_label %}
{% trans "Related items" %}{% trans ":" %} {{ item_related_label }}
{% endif %} {% bs_form form 0 True %}
{% endblock %} {% block footer %}
{% endblock %}