{% extends "base.html" %} {% block title %}{% if profile %}Edit notification profile{% else %}Add notification profile{% endif %}{% endblock %} {% block content %}

{% if profile %}Edit notification profile: {{ profile.name }}{% else %}Add notification profile{% endif %}

{% if unavailable_reason %}

Unavailable {{ unavailable_reason }}

This profile can't be edited or tested until a Plugin providing that Notificator is installed. Its settings are kept, and you can still delete it.

{% endif %}
{% csrf_token %} {{ form.non_field_errors }}

{{ form.name }} {{ form.name.errors }}

{{ form.notificator_name }} {{ form.notificator_name.errors }}

{% for notificator_name, fields in form.config_field_groups %}
{% for field in fields %}{% include "crawler_manager/_form_field.html" %}{% endfor %}
{% endfor %}
{% if unavailable_reason %} Back to profiles {% else %} Cancel {% endif %}
{% endblock %}