Active lease differs from reservation
{% if lease_diff.hostname %}
The active lease has hostname: {{ lease_diff.hostname }}
{% endif %}
{% endif %}
{{ action }} DHCPv{{ dhcp_version }} Reservation
{% if object.sync_enabled and object.sync_reservations_enabled %}
Automatic IPAM sync is enabled for this server.
This reservation will be synced to NetBox IPAM on the next scheduled sync run
(not instantly). You can also use the checkbox below to sync immediately.
{% else %}
Automatic IPAM sync is disabled for this server.
Use the checkbox below to sync this reservation to NetBox IPAM immediately.
{% endif %}
{% include "netbox_kea/inc/formset_add_row.html" %}
{% if action == "Add" %}
{% comment %}
Live NetBox IPAM conflict advisory: on blur of the IP field, fetch a small
HTML fragment and show it under the field. Plain fetch, no HTMX dependency.
Only attached in Add mode — the IP field is disabled (read-only) when editing.
{% endcomment %}
{% endif %}
{% endblock %}