{% extends 'oscar/dashboard/layout.html' %} {% load i18n %} {% block body_class %}{{ block.super }} create-page{% endblock %} {% block title %} {{ title }} | {% trans "Ranges" %} | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block headertext %} {% if range %}{{ range.name }}{% else %}{% trans "Create new range" %}{% endif %} {% endblock %} {% block dashboard_content %}
{% csrf_token %} {% include "oscar/dashboard/partials/form_fields.html" with form=form %} {% block form_actions %}
{% trans "or" %} {# This is an input so we distinguish between which button was pressed #} {% trans "or" %} {% trans "cancel" %}
{% endblock form_actions %}
{% endblock dashboard_content %}