Improved styling of help text in settings forms
Some checks failed
Build assets artifact / Build assets artifact (push) Has been cancelled
Docker Image Build / docker (push) Has been cancelled
Docker Image Build (FrankenPHP) / docker (push) Has been cancelled
Static analysis / Static analysis (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Has been cancelled

This commit is contained in:
Jan Böhmer 2025-08-24 23:42:39 +02:00
parent 48ff2494f6
commit d70fe0fbaa
2 changed files with 11 additions and 3 deletions

View file

@ -22,6 +22,10 @@
</div>
{{ form_start(form) }}
{{ form_help(form) }}
<div class="row">
<div class="offset-sm-3 col mb-3 ps-2">
<b>{{ form_help(form) }}</b>
</div>
</div>
{{ form_end(form) }}
{% endblock %}

View file

@ -42,8 +42,12 @@
<i class="fa-solid {{ settings_icon(settings_object)|default('fa-sliders') }} fa-fw"></i>
{{ (section_widget.vars.label ?? section_widget.vars.name|humanize)|trans }}
</legend>
{{ form_help(section_widget) }}
{{ form_errors(section_widget) }}
<div class="row">
<div class="offset-sm-3 col mb-3 ps-2">
<b>{{ form_help(section_widget) }}</b>
{{ form_errors(section_widget) }}
</div>
</div>
{{ form_widget(section_widget) }}
</fieldset>
{% if not loop.last %}