{% extends 'generic/object_edit.html' %}
{% load form_helpers %}

{% block form %}
    <div class="panel panel-default">
        <div class="panel-heading"><strong>VRF</strong></div>
        <div class="panel-body">
            {% render_field form.name %}
            {% render_field form.namespace %}
	        {% render_field form.rd %}
            {% render_field form.description %}
        </div>
    </div>
    <div class="panel panel-default">
        <div class="panel-heading"><strong>Devices</strong></div>
        <div class="panel-body">
            {% render_field form.devices %}
        </div>
    </div>
    <div class="panel panel-default">
        <div class="panel-heading"><strong>Virtual Machines</strong></div>
        <div class="panel-body">
            {% render_field form.virtual_machines %}
        </div>
    </div>
    <div class="panel panel-default">
        <div class="panel-heading"><strong>Prefixes</strong></div>
        <div class="panel-body">
            {% render_field form.prefixes %}
        </div>
    </div>
    <div class="panel panel-default">
        <div class="panel-heading"><strong>Route Targets</strong></div>
        <div class="panel-body">
            {% render_field form.import_targets %}
            {% render_field form.export_targets %}
        </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>
    {% include 'inc/extras_features_edit_form_fields.html' %}
{% endblock %}
