{% extends "network/base.html" %}
{% load render_table from django_tables2 %}
{% load i18n %}
{% load staticfiles %}
{% load crispy_forms_tags %}

{% block title-page %}{{ object.name }} | {% trans "firewall" %}{% endblock %}

{% block content %}
<div class="page-header">
  <a href="{% url "network.firewall_delete" pk=object.pk %}" class="btn btn-danger pull-right">
    <i class="fa fa-times-circle"></i> {% trans "Delete this firewall" %}
  </a>
  <h2>{{ object.name }}</h2>
</div>

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

<div class="page-header">
  <h2>{% trans "Related rules" %}</h2>
</div>
<div class="row">
  <div class="col-sm-12">
    {% render_table rule_table %}
  </div>
</div>
{% endblock %}
