Просмотр исходного кода

Merge pull request #10370 from kvedder-amplex/develop

add custom fields to l2vpntermination edit template
Jeremy Stretch 3 лет назад
Родитель
Сommit
7477f6584e
1 измененных файлов с 8 добавлено и 0 удалено
  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 %}