Skip to content

Commit 2c6493e

Browse files
committedFeb 6, 2025·
bug #6798 wrap form tab html attr in double quotes (dimanche-matin)
This PR was merged into the 4.x branch. Discussion ---------- wrap form tab html attr in double quotes <!-- Thanks for your contribution! If you are proposing a new feature that is complex, please open an issue first so we can discuss about it. Note: all your contributions adhere implicitly to the MIT license --> Commits ------- 346b9af wrap html_attr in double quotes
2 parents 3192dd2 + 346b9af commit 2c6493e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎templates/crud/form_theme.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@
670670
{% set tab_is_active_option_name = constant('EasyCorp\\Bundle\\EasyAdminBundle\\Field\\FormField::OPTION_TAB_IS_ACTIVE') %}
671671
{% set field = form.vars.ea_vars.field %}
672672

673-
<div id="{{ ea_tab_id }}" class="tab-pane {% if field.getCustomOption(tab_is_active_option_name) %}active{% endif %} {{ ea_css_class }}" {% for key, value in form.vars.attr %}{{ key }}={{ value|e('html') }}{% endfor %}>
673+
<div id="{{ ea_tab_id }}" class="tab-pane {% if field.getCustomOption(tab_is_active_option_name) %}active{% endif %} {{ ea_css_class }}" {% for key, value in form.vars.attr %}{{ key }}="{{ value|e('html') }}"{% endfor %}>
674674
{% if ea_help %}
675675
<div class="content-header-help tab-help">
676676
{{ ea_help|trans(domain = ea.i18n.translationDomain)|raw }}

0 commit comments

Comments
 (0)
Please sign in to comment.