Working on improving form logic.

This commit is contained in:
Yaro Kasear 2025-09-23 10:17:32 -05:00
parent 86c4f88b78
commit 260411d4ee
5 changed files with 158 additions and 77 deletions

View file

@ -1,4 +1,5 @@
{# show label unless hidden/custom #}
<!-- {{ field_name }} (field) -->
{% if field_type != 'hidden' and field_label %}
<label for="{{ field_name }}"
{% if label_attrs %}{% for k,v in label_attrs.items() %}

View file

@ -1,6 +1,6 @@
<form method="POST">
{% macro render_row(row) %}
<!-- {{ row.name }} -->
<!-- {{ row.name }} (row) -->
{% if row.fields or row.children or row.legend %}
{% if row.legend %}<legend>{{ row.legend }}</legend>{% endif %}
<fieldset