fix: render form help texts smaller and muted

This commit is contained in:
fromme committed 2026-10-20 16:52:32 +02:00
1 parent 48691227cb
commit 3fe510e64e
1 file changed
+6
+6
View File
@@ -32,6 +32,12 @@
{%- endif -%}
{%- endblock form_errors -%}
{# Muted and smaller than the label, so a help text never outweighs the field it explains. #}
{%- block form_help -%}
{%- set help_attr = help_attr|merge({'class': (help_attr.class|default('') ~ ' pt-1 text-sm text-gray-500')|trim}) -%}
{{ parent() }}
{%- endblock form_help -%}
{%- block form_widget_simple -%}
{%- set type = type|default('text') -%}
{%- if type != 'hidden' -%}