{% extends "site_base.html" %} {% load staticfiles %} {% load i18n %} {% load bootstrap_tags %} {% block head_title %}{% trans "Change Exchange Type and Pattern" %}{% endblock %} {% block extra_head %} {% endblock %} {% block body_class %}exchange{% endblock %} {% block body_base %}
{% include "_messages.html" %}
{% trans "Exchange Type with Pattern" %}: {{ exchange_type.name }}    {% trans "Exchange Types" %}    {% trans "Change Resource Type Facets" %}    

{% trans "Exchange Type" %}

{% csrf_token %} {{ change_ext_form|as_bootstrap }} {% if exchange_type.ocp_record_type %}   (E:{{ exchange_type.ocp_record_type }}, R:{{ exchange_type.ocp_record_type.ocp_artwork_type }}, S:{{ exchange_type.ocp_record_type.ocp_skill_type }}) {% else %} Not connected to the General type trees! {% endif %}

Transfer Types for this Exchange Type {% trans "New Transfer Type" %}

{% for slot in slots %}
( {{ slot.sequence }} ) {% if slot.is_reciprocal %} {% trans "Reciprocal Transfer Type" %}: {% else %} {% trans "Transfer Type" %}: {% endif %} {{ slot.name }} {% if slot.inherit_types %}{% trans "(inherit types)" %}{% endif %} {% if slot.is_deletable %}
{% csrf_token %}
{% endif %}
{% if slot.description %}
{{ slot.description|urlize|linebreaks }}
{% endif %} {% endfor %}

{% trans "Pattern for this exchange type" %}

{% csrf_token %} {% for slot in slots %}
{{ slot.name }} {% trans "Selections you will see in forms" %}:
{{ slot.rts.resource_type }}

{% trans "Resource Types" %}

{% trans "Resource Type Facets" %}

{% for item in slot.get_resource_types %}

{{ item }}

{% for facet in item.facets.all %}

{{ facet.facet_value }}

{% endfor %}
{% empty %}

{% trans "None" %}

{% endfor %}
{{ slot.formset.management_form }} {% for form in slot.formset %} {{ form.id }} {% endfor %}
{% trans "Pattern Facets" %} {% trans "Del" %}
{{ form.facet_value }} {{ form.DELETE }}
{% endfor %}
{% endblock %} {% block extra_script %} {% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}