{% extends 'dashboard/layout.html' %} {% load currency_filters %} {% load i18n %} {% block body_class %}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 "partials/form_fields_inline.html" with form=select_form %}
{% if num_promotions %} {% for promotion in promotions %} {% endfor %}
{% 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 "Edit" %} {% trans "Delete" %}
{% else %}

{% trans "No content blocks found." %}

{% endif %} {% endblock dashboard_content %}