rule-edit.html 614 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
{% extends "network/base.html" %}
{% load render_table from django_tables2 %}
{% load i18n %}
{% load l10n %}
{% load staticfiles %}
{% load crispy_forms_tags %}

{% block content %}
<div class="page-header">
10
    <a href="{% url "network.rule_delete" pk=rule.pk %}" class="btn btn-danger pull-right"><i class="icon-remove-sign"></i> {% trans "Delete this rule" %}</a>
11 12 13 14 15 16 17 18 19 20 21 22 23
    <h3>
        {% with rule as record %}
            {% include "network/columns/host-rule.html" %}
        {% endwith %}
    </h3>
</div>

<div class="row">
    <div class="col-sm-7">
        {% crispy form %}
    </div>
</div>
{% endblock %}