{% extends "projects/project_menu.html" %} {% load i18n %} {% load pagination_tags %} {% load txcommontags %} {% load permissions %} {% load txpermissions %} {% block title %}{{ block.super }} | {{ project.name }} | {% trans "Access Control" %}{% endblock %} {% block breadcrumb %}{{ block.super }} » {{ project.name }} » {% trans "Access Control" %}{% endblock %} {% block content_main %}

{% trans "Access Control" %}

{% trans "You have the following choices to manage how people can have submission access to your project:" %}

{% get_permission "project_perm.maintain" for request.user and project as "is_maintainer" %}
{% if is_maintainer %} {% with project_access_control_form as form %}
{% if form.non_field_errors %}
    {{ form.non_field_errors }}
{% endif %}
{{ form.access_control }} {% if form.access_control.errors %}

{% for error in form.access_control.errors %}{{ error }}{% endfor %}

{% endif %}
{{ form.outsource.label }}: * {{ form.outsource }} {% if form.outsource.errors %}

{% for error in form.outsource.errors %}{{ error }}{% endfor %}

{% endif %}

{{ form.outsource.help_text|safe }}

{% if not project.anyone_submit and not project.outsource %} {% endif %}

{% endwith %} {% endif %}
{% endblock %}