Skip to content

Commit

Permalink
Merge branch '6.4' into 7.0
Browse files Browse the repository at this point in the history
* 6.4:
  Fix implicit nullable parameters
  Remove whitespaces from block form_help
  Fix TypeError on ProgressBar
  • Loading branch information
xabbuh committed Mar 28, 2024
2 parents d16aa4e + f150e06 commit 1d5745d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Resources/views/Form/bootstrap_5_layout.html.twig
Expand Up @@ -361,12 +361,12 @@
{# Help #}

{%- block form_help -%}
{% set row_class = row_attr.class|default('') %}
{% set help_class = ' form-text' %}
{% if 'input-group' in row_class %}
{%- set row_class = row_attr.class|default('') -%}
{%- set help_class = ' form-text' -%}
{%- if 'input-group' in row_class -%}
{#- Hack to properly display help with input group -#}
{% set help_class = ' input-group-text' %}
{% endif %}
{%- set help_class = ' input-group-text' -%}
{%- endif -%}
{%- if help is not empty -%}
{%- set help_attr = help_attr|merge({class: (help_attr.class|default('') ~ help_class ~ ' mb-0')|trim}) -%}
{%- endif -%}
Expand Down

0 comments on commit 1d5745d

Please sign in to comment.