{% extends 'oscar/dashboard/layout.html' %} {% load i18n %} {% block body_class %}{{ block.super }} create-page{% endblock %} {% block breadcrumbs %} {% endblock %} {% block headertext %}{{ title }}{% endblock %} {% block dashboard_content %} {% if disallow %}

{% trans "Please make sure all products are assigned to another type before deletion." %}

{% else %}

{% trans "Delete product type" %}

{% csrf_token %} {{ form }}

{% blocktrans with name=object.name %} Delete product type {{ name }} - are you sure? {% endblocktrans %}

{% trans "or" %} {% trans "cancel" %}
{% endif %} {% endblock %}