{% extends 'oscar/dashboard/layout.html' %} {% load i18n %} {% block body_class %}{{ block.super }} content-blocks{% endblock %} {% block title %} {% trans "Content blocks" %} | {{ block.super }} {% endblock %} {% block header %} {% endblock header %} {% block breadcrumbs %} {% endblock %} {% block dashboard_content %}

{% trans "Create a new content block" %}

{% include "oscar/dashboard/partials/form_fields_inline.html" with form=select_form %}
{% if num_promotions %} {% for promotion in promotions %} {% endfor %} {% else %} {% endif %}
{% trans "Content blocks" %}
{% trans "Name" %} {% trans "Type" %} {% trans "Number of times used" %} {% trans "Date created" %} {% trans "Actions" %}
{{ promotion.name }} {{ promotion.type }} {{ promotion.num_times_used }} {{ promotion.date_created }}
{% trans "No content blocks found." %}
{% endblock dashboard_content %}