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

{% block title %}Bulk Add IP Addresses{% endblock %}

{% block tabs %}
    {% include 'ipam/inc/ipadress_edit_header.html' with active_tab='bulk_add' %}
{% endblock %}

{% block form %}
    <div class="panel panel-default">
        <div class="panel-heading"><strong>IP Addresses</strong></div>
        <div class="panel-body">
            {% render_field form.pattern %}
            {% render_field model_form.status %}
            {% render_field model_form.role %}
            {% render_field model_form.vrf %}
            {% render_field model_form.description %}
        </div>
    </div>
    <div class="panel panel-default">
        <div class="panel-heading"><strong>Tenancy</strong></div>
        <div class="panel-body">
            {% render_field model_form.tenant_group %}
            {% render_field model_form.tenant %}
        </div>
    </div>
    {% if model_form.custom_fields %}
        <div class="panel panel-default">
            <div class="panel-heading"><strong>Custom Fields</strong></div>
            <div class="panel-body">
                {% render_custom_fields model_form %}
            </div>
        </div>
    {% endif %}
{% endblock %}
