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

All content blocks

{% if num_promotions %} {% for promotion in promotions %} {% endfor %}
Name Type Number of times used Date created Actions
{{ promotion.name }} {{ promotion.type }} {{ promotion.num_times_used }} {{ promotion.date_created }} Edit Delete
{% else %}

No content blocks found.

{% endif %}

Create a new content block

{% include "partials/form_fields_inline.html" with form=select_form %}
{% endblock dashboard_content %}