{% extends "txcollections/base.html" %} {% load i18n %} {% load txcommontags %} {% block title %} {% if not collection %}{{ block.super }} | {% trans "Add a collection" %} {% else %}{{ block.super }} | {% blocktrans with collection.name as collection_name %}Edit {{ collection_name}}{% endblocktrans %}{% endif %} {% endblock %} {% block breadcrumb %} {% if not collection %}{{ block.super }} » {% trans "Add a collection" %} {% else %}{{ block.super }} » {% blocktrans with collection.name as collection_name %}Edit {{ collection_name}}{% endblocktrans %}{% endif %} {% endblock %} {% block content_title %} {% if not collection %}

{% trans "Add a collection" %}

{% else %}

{% blocktrans with collection.name as collection_name and collection.get_absolute_url as collection_url %}Editing {{ collection_name }}{% endblocktrans %}

{% endif %} {% endblock %} {% block content %}
{% if form_message %}

{{ form_message }}

{% endif %}
{% form_as_table_rows form %}

{% endblock %}