8000 Fix PercentType error rendering. · symfony/symfony@4715397 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4715397

Browse files
alexismarquisnicolas-grekas
authored andcommitted
Fix PercentType error rendering.
1 parent bf871f4 com
8000
mit 4715397

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_4_layout.html.twig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@
106106
{%- endblock dateinterval_widget %}
107107

108108
{% block percent_widget -%}
109-
<div class="input-group{{ not valid ? ' form-control is-invalid' }}">
110-
{% set valid = true %}
109+
<div class="input-group">
111110
{{- block('form_widget_simple') -}}
112111
<div class="input-group-append">
113112
<span class="input-group-text">%</span>

0 commit comments

Comments
 (0)
0