{% extends "base.html" %} {% block title %} {# L10n: {0} is the name of the collection. #} {{ page_title(_('Edit {0}')|fe(collection.name)) }} {% endblock %} {% set owner = (collection.owned_by(user) or is_admin) %} {% block content %}
{% include 'bandwagon/includes/collection_sidebar.html' %}
{{ breadcrumbs([(url('collections.list'), _('Collections')), (url('collections.user', collection.author_username), collection.author.name), (collection.get_url_path(), collection.name), (None, _('Edit'))]) }}

{{ _('Edit {0}')|fe(collection.name) }}

{% if owner and form %} {% include 'bandwagon/includes/addedit_errors.html' %} {% endif %} {% if owner %}
{% include 'bandwagon/includes/addedit.html' %}
{% endif %}
{{ csrf() }} {% include 'bandwagon/includes/addon_selector.html' %}
{% if owner and collection.type not in amo.COLLECTIONS_NO_CONTRIB %}
{% include 'bandwagon/edit_contributors.html' %}
{% endif %}
{# primary #} {% endblock %}