{% 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">
    <a href="{% url network.domain_delete pk=domain_pk %}" class="btn btn-danger pull-right"><i class="icon-remove-sign"></i> Delete this domain</a>
    <h1>{{ form.name.value }} <small></small></h1>
</div>

<div class="row">
    <div class="col-sm-5">
        {% crispy form %}
    </div>
    <div class="col-sm-5 col-sm-offset-1">
        <h3>
            List of this domain's records
        </h3>
        <hr />
        {% render_table record_list %}
    </div>
</div>
{% endblock %}
