{% macro user_row(user, role) %} {{ user.username }} {{ user.email }} {{ role }} {% if role != _('Owner') %} {{ _('Make Owner') }} {% endif %} {% if role != _('Owner') %} {{ _('Remove') }} {% endif %} {% endmacro %}

{{ _('Collection Contributors') }}

{% trans %} You can add multiple contributors to this collection. A contributor can add and remove add-ons from this collection, but cannot change its name or description. To add a contributor, enter their email in the box below. Contributors must have a Mozilla Add-ons account. {% endtrans %}

{{ csrf() }}
{{ user_row(collection.author, _('Owner')) }} {% for user in collection.users.no_cache().all() %} {{ user_row(user, _('Contributor')) }} {% endfor %}
{{ _('User') }} {{ _('Email') }} {{ _('Role') }} {{ _('Remove') }}
{% if is_admin %}

{{ _('Admin Settings') }}

{{ admin_form.as_p() }}
{% endif %}