{% extends "paxalia/base.html" %} {% load static i18n %} {% block title %}{{ page_title }} ยท {% trans "Paxalia Admin" %}{% endblock %} {% block page_title %}{{ page_title }}{% endblock %} {% block page_subtitle %}{{ page_subtitle }}{% endblock %} {% block extra_css %}{% endblock %} {% block dashboard_content %}
{% trans "Paxalia Admin" %}/{{ definition.verbose_name_plural }}/{{ page_title }}
{{ definition.label }}

{{ page_title }}

{{ page_subtitle }}

{% csrf_token %} {{ form.media }} {% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %} {% for hidden in form.hidden_fields %}{{ hidden }}{% endfor %} {% for section in form_sections %}
{{ definition.label }}

{{ section.title }}

{% for field in section.fields %}
{% if field.help_text %}{{ field.help_text }}{% endif %} {{ field }} {% for error in field.errors %}
{{ error }}
{% endfor %}
{% endfor %}
{% endfor %} {% if readonly_rows %}
{% trans "Read only" %}

{% trans "Protected fields" %}

{% for row in readonly_rows %}
{{ row.label }}
{{ row.display }}
{% endfor %}
{% endif %} {% for inline in formsets %}
{% trans "Related records" %}

{{ inline.inline.opts.verbose_name_plural|capfirst }}

{% if inline.can_add %}{% trans "Add" %}{% endif %} {% if inline.can_change %}{% trans "Change" %}{% endif %} {% if inline.can_delete %}{% trans "Delete" %}{% endif %}
{{ inline.formset.management_form }} {% if inline.formset.non_form_errors %}
{{ inline.formset.non_form_errors }}
{% endif %}
{% for inline_form in inline.forms %}
{% for hidden in inline_form.hidden_fields %}{{ hidden }}{% endfor %} {% for field in inline_form.visible_fields %}
{{ field }}{% for error in field.errors %}
{{ error }}
{% endfor %}
{% endfor %}
{% empty %}

{% trans "No related forms are available." %}

{% endfor %}
{% endfor %}
{% if not object %}{% endif %} {% trans "Cancel" %}
{% endblock %}