domain-edit.html 785 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.domain_delete" pk=domain_pk %}" class="btn btn-danger pull-right"><i class="icon-remove-sign"></i>{% trans "Delete this domain" %}</a>
11 12 13 14 15 16 17
    <h2>{{ form.name.value }} <small></small></h2>
</div>

<div class="row">
    <div class="col-sm-4">
        {% crispy form %}
    </div>
18
    <div class="col-sm-6 col-sm-offset-1">
19 20 21 22 23 24 25 26 27 28
        <h3>
            {% trans "List of this domain's records" %}
        </h3>
        <hr />
        <div class="table-responsive">
            {% render_table record_list %}
        </div>
    </div>
</div>
{% endblock %}