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

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

{% block form %}
{% include 'ipam/inc/ipadress_edit_header.html' with active_tab='bulk_add' %}
    <div class="field-group">
        <h4>IP Addresses</h4>
        {% render_field form.pattern %}
        {% render_field model_form.status %}
        {% render_field model_form.role %}
        {% render_field model_form.vrf %}
        {% render_field model_form.description %}
        {% render_field model_form.tags %}
    </div>
    <div class="field-group">
        <h4>Tenancy</h4>
        {% render_field model_form.tenant_group %}
        {% render_field model_form.tenant %}
    </div>
    {% if model_form.custom_fields %}
        <div class="field-group">
            <h4>Custom Fields</h4>
            {% render_custom_fields model_form %}
        </div>
    {% endif %}
{% endblock %}
