1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Move fieldsets out of Meta for model forms

This commit is contained in:
jeremystretch
2022-01-31 15:52:36 -05:00
parent cf3ca5a661
commit ccb3a75281
11 changed files with 206 additions and 170 deletions

View File

@@ -8,7 +8,7 @@
<form method="post" action="" id="preferences-update">
{% csrf_token %}
{% for group, fields in form.Meta.fieldsets %}
{% for group, fields in form.fieldsets %}
<div class="field-group my-5">
<div class="row mb-2">
<h5 class="offset-sm-3">{{ group }}</h5>