mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-09 21:32:17 -06:00
Initial push to public repo
This commit is contained in:
22
netbox/templates/ipam/vrf_delete.html
Normal file
22
netbox/templates/ipam/vrf_delete.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{% extends 'utilities/confirmation_form.html' %}
|
||||
{% load form_helpers %}
|
||||
|
||||
{% block title %}Delete VRF {{ vrf }}?{% endblock %}
|
||||
|
||||
{% block message %}
|
||||
<p>
|
||||
Are you sure you want to delete this VRF?
|
||||
{% if vrf.prefix_set.count %}
|
||||
The following prefixes will also be deleted:
|
||||
{% else %}
|
||||
(There are no prefixes associated with this VRF.)
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if vrf.prefix_set.count %}
|
||||
<ul>
|
||||
{% for p in vrf.prefix_set.all %}
|
||||
<li><a href="{% url 'ipam:prefix' pk=p.pk %}">{{ p }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user