|
14 | 14 | {# Attribute "required" is not supported #}
|
15 | 15 | {%- set required = false -%}
|
16 | 16 | {%- endif -%}
|
17 |
| - <input type="{{ type }}" {{ block('widget_attributes') }} {% if value is not empty %}value="{{ value }}" {% endif %}> |
| 17 | + <input type="{{ type }}" {{ block('widget_attributes') }} {% if value is not empty %}value="{{ value }}"{% endif %}> |
18 | 18 | {%- endblock form_widget_simple -%}
|
19 | 19 |
|
20 | 20 | {%- block form_widget_compound -%}
|
|
91 | 91 | {%- endblock choice_widget_options -%}
|
92 | 92 |
|
93 | 93 | {%- block checkbox_widget -%}
|
94 |
| - <input type="checkbox" {{ block('widget_attributes') }}{% if value is defined %} value="{{ value }}"{% endif %}{% if checked %} checked="checked"{% endif %} /> |
| 94 | + <input type="checkbox" {{ block('widget_attributes') }}{% if value is defined %} value="{{ value }}"{% endif %}{% if checked %} checked="checked"{% endif %}> |
95 | 95 | {%- endblock checkbox_widget -%}
|
96 | 96 |
|
97 | 97 | {%- block radio_widget -%}
|
98 |
| - <input type="radio" {{ block('widget_attributes') }}{% if value is defined %} value="{{ value }}"{% endif %}{% if checked %} checked="checked"{% endif %} /> |
| 98 | + <input type="radio" {{ block('widget_attributes') }}{% if value is defined %} value="{{ value }}"{% endif %}{% if checked %} checked="checked"{% endif %}> |
99 | 99 | {%- endblock radio_widget -%}
|
100 | 100 |
|
101 | 101 | {%- block datetime_widget -%}
|
|
402 | 402 | {%- endif -%}
|
403 | 403 | <form{% if name != '' %} name="{{ name }}"{% endif %} method="{{ form_method|lower }}"{% if action != '' %} action="{{ action }}"{% endif %}{{ block('attributes') }}{% if multipart %} enctype="multipart/form-data"{% endif %}>
|
404 | 404 | {%- if form_method != method -%}
|
405 |
| - <input type="hidden" name="_method" value="{{ method }}" /> |
| 405 | + <input type="hidden" name="_method" value="{{ method }}"> |
406 | 406 | {%- endif -%}
|
407 | 407 | {%- endblock form_start -%}
|
408 | 408 |
|
|
440 | 440 | {%- endif -%}
|
441 | 441 |
|
442 | 442 | {%- if form_method != method -%}
|
443 |
| - <input type="hidden" name="_method" value="{{ method }}" /> |
| 443 | + <input type="hidden" name="_method" value="{{ method }}"> |
444 | 444 | {%- endif -%}
|
445 | 445 | {% endif -%}
|
446 | 446 | {% endblock form_rest %}
|
|
0 commit comments