Refactor form rendering components & add docstrings

This commit is contained in:
Jeremy Stretch
2024-03-15 12:59:42 -04:00
parent 2aaa552067
commit 3b28e8e615
7 changed files with 54 additions and 36 deletions

View File

@@ -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 %}