{% load i18n %}

{% trans 'Property Groups' %}

{% csrf_token %}

{% trans 'Local properties' %} {% trans 'Edit' %}

{{ property_form.name }}
{% for property in local_properties %}
{{ property.property.name }} {% if not forloop.first %} {% trans 'Up' %} {% endif %} {% if not forloop.last %} {% trans 'Down' %} {% endif %} delete
{% for option in property.property.options.all %}
{{ option.name }} delete
{% endfor %}
{{ property_option_form.name }}
{% endfor %}

{% trans 'Variants' %}

{% if variant_simple_form.non_field_errors %} {{ variant_simple_form.non_field_errors }} {% endif %} {% for field in variant_simple_form %} {% endfor %} {% for field in variant_simple_form %} {% endfor %}
{{ field.label|safe }}
{{ field }}
{% if variants %}
{% for prop_dict in all_properties %} {% endfor %} {% for variant in variants %} {% for property in variant.properties %} {% endfor %} {% endfor %}
{% trans 'Pos.' %} {% trans 'Active' %} {% trans 'URL' %} {% trans 'SKU' %} {% trans 'Name' %} {% if prop_dict.property_group %}[{{ prop_dict.property_group.name }}]{% endif %} {{ prop_dict.property.name }} {% trans 'Price' %} {% trans 'Default' %}
Edit

{% trans 'Category variant' %}

{{ category_variant_form.category_variant.label_tag }}:
{{ category_variant_form.category_variant }}

{% trans 'Display type' %}

{{ display_type_form.variants_display_type.label_tag }}:
{{ display_type_form.variants_display_type }}
{% endif %}