{% extends "rules/base.html" %} {% load bootstrap3 %} {% block content %} {% if form %} {% if operation == 'suppress' %}

Disable rule {{ rule.sid }} from

{% else %}

Enable rule {{ rule.sid }} in

{% endif %}
{% if operation == 'suppress' %}
{% else %} {% endif %} {% csrf_token %} {% bootstrap_form form %} {% if rules %} This will also {% if operation == 'suppress' %}disable{% else %}enable{% endif %} the following rules due to flowbits dependencies: {% load render_table from django_tables2 %} {% render_table rules %} {% endif %} {% buttons %} {% endbuttons %}
{% endif %} {% endblock %} {% block sidebar %}

Rule {{ rule.sid }}

{% endblock %}