Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8ac8f9d

Browse files
committed
[TwigBridge] Re-add Bootstrap 3 Checkbox Layout
1 parentfdac9e3 commit8ac8f9d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_3_layout.html.twig‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,15 @@
123123
{%-endblockdatetime_row %}
124124

125125
{%blockcheckbox_row -%}
126+
{%spaceless %}
126127
<divclass="form-group{%ifnotvalid %} has-error{%endif %}">
127-
{{- form_widget(form) -}}
128-
{{- form_errors(form) -}}
128+
<divclass="{{block('form_label_class') }}"></div>
129+
<divclass="{{block('form_group_class') }}">
130+
{{- form_widget(form) -}}
131+
{{- form_errors(form) -}}
132+
</div>
129133
</div>
134+
{%endspaceless %}
130135
{%-endblockcheckbox_row %}
131136

132137
{%blockradio_row -%}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp