Explorar o código

add custom fields to l2vpntermination edit template

kvedder %!s(int64=3) %!d(string=hai) anos
pai
achega
4e03419e85
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      netbox/templates/ipam/l2vpntermination_edit.html

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

@@ -46,4 +46,12 @@
       </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 %}