{% extends 'safety/rules/rulecategorybase.html' %} {% block rule_desc %}

List of custom web site categories that are blocked in this policy. Set the checkbox to block a category and unset to allow. Click here to configure available custom categories.

{%endblock%} {% block rule_content %} {% if empty %}
No custom categories configured. Click here to configure available custom categories.
{% else %} {% if form.non_field_errors %}
{% for error in form.non_field_errors %} {{ error|escape }} {% endfor %}
{% endif %}
{% csrf_token %} {% for name, title, enable in categories %} {% endfor %}
{% if name %} {% else %}   {% endif %}
{% endif %} {% endblock %}