{% extends 'utilities/obj_edit.html' %}
{% load form_helpers %}

{% block form %}
    <div class="panel panel-default">
        <div class="panel-heading"><strong>Prefix</strong></div>
        <div class="panel-body">
            {% render_field form.prefix %}
            {% render_field form.status %}
            {% render_field form.vrf %}
            {% render_field form.role %}
            {% render_field form.description %}
            {% render_field form.is_pool %}
        </div>
    </div>
    <div class="panel panel-default">
        <div class="panel-heading"><strong>Site/VLAN Assignment</strong></div>
        <div class="panel-body">
            {% render_field form.site %}
            {% render_field form.vlan_group %}
            {% render_field form.vlan %}
        </div>
    </div>
    <div class="panel panel-default">
        <div class="panel-heading"><strong>Tenancy</strong></div>
        <div class="panel-body">
            {% render_field form.tenant_group %}
            {% render_field form.tenant %}
        </div>
    </div>
    {% if form.custom_fields %}
        <div class="panel panel-default">
            <div class="panel-heading"><strong>Custom Fields</strong></div>
            <div class="panel-body">
                {% render_custom_fields form %}
            </div>
        </div>
    {% endif %}
    <div class="panel panel-default">
        <div class="panel-heading"><strong>Tags</strong></div>
        <div class="panel-body">
            {% render_field form.tags %}
        </div>
    </div>
{% endblock %}
