{% extends "newsletter/common.html" %} {% load i18n %} {% block title %}{% trans "Newsletter list" %}{% endblock title %} {% block body %} {% if user.is_authenticated %}
{% csrf_token %} {{ formset.management_form }} {% if user %} {% endif %} {% for form in formset.forms %} {% endfor %}
{% trans "Newsletter" %}{% trans "Subscribe" %}
{{ form.id }}{{ form.newsletter }} {{ form.instance.newsletter.title }} {{ form.subscribed }}

{% else %} {% for newsletter in object_list %} {% endfor %}
{% trans "Newsletter" %}
{{ newsletter.title }}
{% endif %} {% endblock body %}