{% extends "rules/base.html" %} {% load bootstrap3 %} {% block sidebar %}

{% if source %} Edit Source '{{ source.name }}' {% else %} Add a Source {% endif %}

{% endblock %} {% block body %} {% if source %} {% else %} {% endif %} {% endblock %} {% block content %}
Warning: the name will be file name in Suricata rules directory
{% if form %}
{% if source %}
{% else %} {% endif %} {% csrf_token %} {% bootstrap_form form %} {% buttons %} {% endbuttons %}
{% endif %} {% endblock %}