Some random tests and fixes (#6000)

* added tests for form models
* apply form theme only to the own custom form type
* change route order for improves matching
This commit is contained in:
Kevin Papst
2026-06-17 10:20:50 +02:00
committed by GitHub
parent f8bc853d2f
commit 8bf711c417
11 changed files with 403 additions and 32 deletions

View File

@@ -13,7 +13,7 @@
{% block form_body %}
{% for pref in form.children.configuration %}
{% if pref.vars.data.formTheme is not null %}
{% form_theme form pref.vars.data.formTheme %}
{% form_theme pref pref.vars.data.formTheme %}
{% endif %}
{% endfor %}
{% for pref in form.children.configuration %}