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

Commitd8bd54a

Browse files
committed
bug#818 Improved the form theme for "reset" buttons (javiereguiluz)
This PR was merged into the master branch.Discussion----------Improved the form theme for "reset" buttonsThis is the same change proposed for the official Symfony form theme:symfony/symfony#17418Commits-------0207732 Improved the form theme for "reset" buttons
2 parents5314011 +0207732 commitd8bd54a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎Resources/views/form/bootstrap_3_horizontal_layout.html.twig‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,17 @@ col-sm-2
8686
{%endspaceless %}
8787
{%endblocksubmit_row %}
8888

89+
{%blockreset_row -%}
90+
{%spaceless %}
91+
<divclass="form-group">
92+
<divclass="{{block('form_label_class') }}"></div>
93+
<divclass="{{block('form_group_class') }}">
94+
{{ form_widget(form) }}
95+
</div>
96+
</div>
97+
{%endspaceless %}
98+
{%endblockreset_row %}
99+
89100
{%blockform_group_class -%}
90101
col-sm-10
91102
{%-endblockform_group_class %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp