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

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

{% endblock %} {% block content %} {% if update %} {% include "rules/import_and_add_source.html" %} {% else %}
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 %} {% endif %} {% endblock %}