Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fe2b5a commit e08f544Copy full SHA for e08f544
src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig
@@ -329,9 +329,9 @@
329
{% block form_help -%}
330
{%- if help is not empty -%}
331
{%- set help_attr = help_attr|merge({class: (help_attr.class|default('') ~ ' help-text')|trim}) -%}
332
- <div id="{{ id }}_help"{% with { attr: help_attr } %}{{ block('attributes') }}{% endwith %}>
+ <{{ element|default('div') }} id="{{ id }}_help"{% with { attr: help_attr } %}{{ block('attributes') }}{% endwith %}>
333
{{- block('form_help_content') -}}
334
- </div>
+ </{{ element|default('div') }}>
335
{%- endif -%}
336
{%- endblock form_help %}
337
0 commit comments