{% extends "massmailer/base.html" %} {% load i18n staticfiles %} {% load django_bootstrap_breadcrumbs crispy_forms_tags %} {% block title %}{% if template %}{{ template.name }}{% else %}{% trans "New template" %}{% endif %} – {% trans "Mailing" %}{% endblock %} {% block extra_head %} {% endblock %} {% block breadcrumbs %} {{ block.super }} {% breadcrumb_for 'massmailer:dashboard' %}{% trans "Templates" %}{% endbreadcrumb_for %} {% if template %} {% breadcrumb_for 'massmailer:template:update' %}{{ template.name }}{% endbreadcrumb_for %} {% else %} {% breadcrumb_for 'massmailer:template:new' %}{% trans "New template" %}{% endbreadcrumb_for %} {% endif %} {% endblock %} {% block content %} {% if template %}