{% extends "_base.html" %} {% load i18n %} {% load static %} {% load widget_tweaks %} {% load push_notification_filters %} {% load page_filters %} {% load rules %} {% block content %}
{% csrf_token %}

{% if push_notification_form.instance.id %} {% with push_notification_form.instance as push_notification_title %} {% blocktrans %}Edit push notification "{{ push_notification_title }}"{% endblocktrans %} {% endwith %} {% else %} {% trans 'Create news message' %} {% endif %}

{% if perms.cms.change_pushnotification %} {% endif %} {% if perms.cms.send_push_notification %} {% endif %}
    {% for other_language in languages %}
  • {{ other_language.translated_name }} {% if other_language.secondary_country_code %} {% endif %}
  • {% endfor %}
{{ pnt_formset.management_form }} {% for form in pnt_formset %}
{{ push_notification_translation_form.errors }} {% render_field form.title %} {% render_field form.text %}

/{{ form.fields.text.max_length }}

{% endfor %}

{% trans "Settings" %}

{% render_field push_notification_form.channel %} {% render_field push_notification_form.mode %}
{% endblock content %}