mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-16 08:42:17 -06:00
Refactor form rendering components & add docstrings
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
{% endfor %}
|
||||
|
||||
{# Render grouped fields according to Form #}
|
||||
{% for group, items in form.fieldsets %}
|
||||
{% render_fieldset form items heading=group %}
|
||||
{% for fieldset in form.fieldsets %}
|
||||
{% render_fieldset form fieldset %}
|
||||
{% endfor %}
|
||||
|
||||
{% if form.custom_fields %}
|
||||
|
||||
Reference in New Issue
Block a user