{% extends "touchtechnology/admin/workbook/base.html" %} {% load i18n common admin_workbook %} {% block page_title %}{% with first=formset.forms.0 %}{% blocktrans with name=first.instance %}Who can work on {{ name }}{% endblocktrans %}{% endwith %}{% endblock %} {% block content %}

{% icon "lock" %}{% trans "Security" %}

{% with first=formset.forms.0 %}{% blocktrans with name=first.instance %}Who can work on {{ name }}{% endblocktrans %}{% endwith %}

{% trans "Choose the people and groups allowed to do each thing. Everyone else needs a permission for the whole site." %}

{% csrf_token %} {{ formset.management_form }} {% include "touchtechnology/admin/workbook/_problems.html" with form=None %}
{% for form in formset %} {% trans form.permission.name as permission_name %} {% include "touchtechnology/admin/workbook/_tab.html" with name=form.permission.codename label=permission_name|capfirst selected=forloop.first only %} {% endfor %}
{% for form in formset %}

{% trans form.permission.name as permission_name %}{{ permission_name|capfirst }}

{% blocktrans with permission=form.permission.name|lower type=form.instance|type name=form.instance %}Control who {{ permission }} for the {{ type }} {{ name }}.{% endblocktrans %}

{% field form.users %} {% field form.groups %}
{% include "touchtechnology/admin/workbook/_savebar.html" with cancel="../.." save_label=_("Save changes") %}
{% endfor %}
{% endblock %} {% block extracss %} {{ block.super }} {{ formset.media|admin_media }} {% endblock %}