{% extends "pretixcontrol/base.html" %} {% load i18n %} {% block title %}{% trans "Listmonk Newsletter" %}{% endblock %} {% block content %}

{% trans "Listmonk Newsletter" %}

{% blocktrans trimmed %} Configure the connection to your Listmonk instance. These settings apply to all events where the Listmonk Newsletter plugin is enabled. {% endblocktrans %}

{% if listmonk_lists_error %}
{% trans "Could not connect to Listmonk with the saved credentials. Please check your URL and API credentials." %}
{% endif %} {% if not listmonk_has_credentials %}
{% trans "Save your URL and credentials first — the newsletter list dropdown will then be populated automatically." %}
{% endif %}
{% csrf_token %}
{% trans "Listmonk connection" %} {% for field in form %}
{{ field }} {% if field.help_text %} {{ field.help_text }} {% endif %} {% for error in field.errors %} {{ error }} {% endfor %}
{% endfor %}
{% endblock %}