1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #2434: Show 'Create & Assign IP Address' Button when Creating Interfaces

This commit is contained in:
checktheroads
2021-04-30 11:13:38 -07:00
parent abd9ffd31d
commit de56e2b405
2 changed files with 75 additions and 0 deletions

View File

@@ -20,6 +20,11 @@
<div class="col-md-8 text-end">
{% block buttons %}
<a class="btn btn-outline-danger" href="{{ return_url }}">Cancel</a>
{% if perms.ipam.add_ipaddress %}
<button type="submit" name="_assignip" class="btn btn-outline-success">
Create & Assign IP Address
</button>
{% endif %}
<button type="submit" name="_addanother" class="btn btn-outline-primary">
Create & Add Another
</button>