Skip to content

Commit

Permalink
Merge branch '6.0' into 6.1
Browse files Browse the repository at this point in the history
* 6.0:
  Update bootstrap_5_layout.html.twig
  [HttpClient] Fix seeking in not-yet-initialized requests
  [Serializer] Allow getting discriminated type by class name
  • Loading branch information
fabpot committed Oct 12, 2022
2 parents ec8da63 + dd131ba commit 368e9ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/views/Form/bootstrap_5_layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@
{%- set parent_label_class = parent_label_class|default(label_attr.class|default('')) -%}
{%- set row_class = 'form-check' -%}
{%- if 'checkbox-inline' in parent_label_class %}
{% set row_class = row_class ~ ' form-check-inline' %}
{%- set row_class = row_class ~ ' form-check-inline' -%}
{% endif -%}
{%- if 'checkbox-switch' in parent_label_class %}
{% set row_class = row_class ~ ' form-switch' %}
{%- set row_class = row_class ~ ' form-switch' -%}
{% endif -%}
<div class="{{ row_class }}">
{{- form_label(form, null, { widget: parent() }) -}}
Expand Down

0 comments on commit 368e9ba

Please sign in to comment.