Skip to content

Commit 2cc37b5

Browse files
committed
Revert: remove comment line from twig templates
1 parent d47ab87 commit 2cc37b5

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

Resources/views/Form/bootstrap_3_horizontal_layout.html.twig

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,24 @@ col-sm-2
3434
{{- form_help(form) -}}
3535
{{- form_errors(form) -}}
3636
</div>
37-
</div>
37+
{##}</div>
3838
{%- endblock form_row %}
3939

4040
{% block submit_row -%}
41-
<div class="form-group">
42-
<div class="{{ block('form_label_class') }}"></div>
41+
<div class="form-group">{#--#}
42+
<div class="{{ block('form_label_class') }}"></div>{#--#}
4343
<div class="{{ block('form_group_class') }}">
4444
{{- form_widget(form) -}}
45-
</div>
45+
</div>{#--#}
4646
</div>
4747
{%- endblock submit_row %}
4848

4949
{% block reset_row -%}
50-
<div class="form-group">
51-
<div class="{{ block('form_label_class') }}"></div>
50+
<div class="form-group">{#--#}
51+
<div class="{{ block('form_label_class') }}"></div>{#--#}
5252
<div class="{{ block('form_group_class') }}">
5353
{{- form_widget(form) -}}
54-
</div>
54+
</div>{#--#}
5555
</div>
5656
{%- endblock reset_row %}
5757

@@ -60,11 +60,11 @@ col-sm-10
6060
{%- endblock form_group_class %}
6161

6262
{% block checkbox_row -%}
63-
<div class="form-group{% if not valid %} has-error{% endif %}">
64-
<div class="{{ block('form_label_class') }}"></div>
63+
<div class="form-group{% if not valid %} has-error{% endif %}">{#--#}
64+
<div class="{{ block('form_label_class') }}"></div>{#--#}
6565
<div class="{{ block('form_group_class') }}">
6666
{{- form_widget(form) -}}
6767
{{- form_errors(form) -}}
68-
</div>
68+
</div>{#--#}
6969
</div>
7070
{%- endblock checkbox_row %}

Resources/views/Form/bootstrap_4_horizontal_layout.html.twig

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ col-sm-2
3434
{{- form_widget(form, widget_attr) -}}
3535
{{- form_help(form) -}}
3636
</div>
37-
</div>
37+
{##}</div>
3838
{%- endif -%}
3939
{%- endblock form_row %}
4040

@@ -51,24 +51,24 @@ col-sm-2
5151
{{- form_help(form) -}}
5252
</div>
5353
</div>
54-
</fieldset>
54+
{##}</fieldset>
5555
{%- endblock fieldset_form_row %}
5656

5757
{% block submit_row -%}
58-
<div class="form-group row">
59-
<div class="{{ block('form_label_class') }}"></div>
58+
<div class="form-group row">{#--#}
59+
<div class="{{ block('form_label_class') }}"></div>{#--#}
6060
<div class="{{ block('form_group_class') }}">
6161
{{- form_widget(form) -}}
62-
</div>
62+
</div>{#--#}
6363
</div>
6464
{%- endblock submit_row %}
6565

6666
{% block reset_row -%}
67-
<div class="form-group row">
68-
<div class="{{ block('form_label_class') }}"></div>
67+
<div class="form-group row">{#--#}
68+
<div class="{{ block('form_label_class') }}"></div>{#--#}
6969
<div class="{{ block('form_group_class') }}">
7070
{{- form_widget(form) -}}
71-
</div>
71+
</div>{#--#}
7272
</div>
7373
{%- endblock reset_row %}
7474

@@ -77,11 +77,11 @@ col-sm-10
7777
{%- endblock form_group_class %}
7878

7979
{% block checkbox_row -%}
80-
<div class="form-group row">
81-
<div class="{{ block('form_label_class') }}"></div>
80+
<div class="form-group row">{#--#}
81+
<div class="{{ block('form_label_class') }}"></div>{#--#}
8282
<div class="{{ block('form_group_class') }}">
8383
{{- form_widget(form) -}}
8484
{{- form_errors(form) -}}
85-
</div>
85+
</div>{#--#}
8686
</div>
8787
{%- endblock checkbox_row %}

0 commit comments

Comments
 (0)