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

Restore front port component creation

This commit is contained in:
jeremystretch
2021-12-28 09:53:56 -05:00
parent 8ca09ec07f
commit 4075cc8518
5 changed files with 118 additions and 7 deletions

View File

@@ -31,13 +31,15 @@
<form action="" method="post" enctype="multipart/form-data" class="form-object-edit">
{% csrf_token %}
{% for field in form.hidden_fields %}
{{ field }}
{% endfor %}
{% block form %}
{% if form.Meta.fieldsets %}
{# Render hidden fields #}
{% for field in form.hidden_fields %}
{{ field }}
{% endfor %}
{# Render grouped fields according to Form #}
{% for group, fields in form.Meta.fieldsets %}
<div class="field-group mb-5">