{% extends "admin/change_form.html" %} {% load i18n admin_urls admin_static admin_modify %} {% block coltype %}colM{% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-form{% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block content %}
{% csrf_token %}
{% if user_errors %}

{% if user_errors|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}

{{ user_form.non_field_errors }} {% endif %}

{% trans "Edit user permissions" %}

{% trans "Please select a user in order to update its permissions" %}
{% for field in user_form %}
{% if not field.is_readonly %}{{ field.errors }}{% endif %} {% if field.is_checkbox %} {{ field.field }}{{ field.label_tag }} {% else %} {{ field.label_tag }} {{ field }} {% endif %} {% if field.field.help_text %}

{{ field.field.help_text|safe }}

{% endif %}
{% endfor %}
{% csrf_token %}

{% trans "Edit group permissions" %}

{% trans "Please select a group in order to update its permissions" %}
{% for field in group_form %}
{% if not field.is_readonly %}{{ field.errors }}{% endif %} {% if field.is_checkbox %} {{ field.field }}{{ field.label_tag }} {% else %} {{ field.label_tag }} {{ field }} {% endif %} {% if field.field.help_text %}

{{ field.field.help_text|safe }}

{% endif %}
{% endfor %}
{% if forum %}
{% csrf_token %}

{% trans "Copy permissions from another forum" %}

{% trans "Please select a forum in order to copy its permissions configuration to the current forum" %}
{% for field in forum_form %}
{% if not field.is_readonly %}{{ field.errors }}{% endif %} {% if field.is_checkbox %} {{ field.field }}{{ field.label_tag }} {% else %} {{ field.label_tag }} {{ field }} {% endif %} {% if field.field.help_text %}

{{ field.field.help_text|safe }}

{% endif %}
{% endfor %}
{% endif %} {% endblock content %}