Browse Source

Fixes #16807: Fix layout of VLAN edit form when custom fields are present

Jeremy Stretch 1 year ago
parent
commit
224f157b75
1 changed files with 4 additions and 4 deletions
  1. 4 4
      netbox/templates/ipam/vlan_edit.html

+ 4 - 4
netbox/templates/ipam/vlan_edit.html

@@ -53,10 +53,6 @@
     {% endwith %}
     {% endwith %}
   </div>
   </div>
 
 
-  <div class="field-group my-5">
-    {% render_field form.comments %}
-  </div>
-
   {% if form.custom_fields %}
   {% if form.custom_fields %}
     <div class="field-group my-5">
     <div class="field-group my-5">
       <div class="row">
       <div class="row">
@@ -65,4 +61,8 @@
       {% render_custom_fields form %}
       {% render_custom_fields form %}
     </div>
     </div>
   {% endif %}
   {% endif %}
+
+  <div class="field-group my-5">
+    {% render_field form.comments %}
+  </div>
 {% endblock %}
 {% endblock %}