{% extends 'oscar/dashboard/layout.html' %} {% load i18n %} {% block title %} {{ title }} | {% trans "Create Option" %} | {{ block.super }} {% endblock %} {% block body_class %}{{ block.super }} create-page{% endblock %} {% block navbar %} {% if not is_popup %} {{ block.super }} {% endif %} {% endblock %} {% block dashboard_nav %} {% if not is_popup %} {{ block.super }} {% endif %} {% endblock %} {% block breadcrumbs %} {% if not is_popup %} {% endif %} {% endblock %} {% block headertext %} {{ title }} {% endblock %} {% block dashboard_content %} {% if disallow %}

{% trans "Please make sure option is not assigned to Products or Product Classes before deletion." %}

{% else %}

{% trans "Delete Option" %}

{% csrf_token %} {% if is_popup %}{% endif %} {% if not is_popup %} {% for key, value in http_get_params.items %} {% endfor %} {% endif %}

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

{% trans "Cancel" %}
{% endif %} {% endblock %}