Parcourir la source

add custom fields to l2vpntermination edit template

kvedder il y a 3 ans
Parent
commit
4e03419e85
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 8 0
      netbox/templates/ipam/l2vpntermination_edit.html

+ 8 - 0
netbox/templates/ipam/l2vpntermination_edit.html

@@ -46,4 +46,12 @@
       </div>
       </div>
     </div>
     </div>
   </div>
   </div>
+ {% if form.custom_fields %}
+  <div class="field-group my-5">
+    <div class="row mb-2">
+      <h5 class="offset-sm-3">Custom Fields</h5>
+    </div>
+    {% render_custom_fields form %}
+  </div>
+{% endif %}
 {% endblock %}
 {% endblock %}