File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
FrameworkBundle/Resources/views/Form
TwigBundle/Resources/views/Form Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- <?php foreach ($ form-> getChildren () as $ child ): ?>
1+ <?php foreach ($ form as $ child ): ?>
22 <?php if (!$ child ->isRendered ()): ?>
33 <?php echo $ view ['form ' ]->row ($ child ) ?>
44 <?php endif ; ?>
Original file line number Diff line number Diff line change 11<div<?php echo $ view ['form ' ]->attributes () ?> >
22 <?php echo $ view ['form ' ]->errors ($ form ); ?>
3- <?php foreach ($ form-> getChildren () as $ child ): ?>
3+ <?php foreach ($ form as $ child ): ?>
44 <?php echo $ view ['form ' ]->row ($ child ); ?>
55 <?php endforeach ; ?>
66 <?php echo $ view ['form ' ]->rest ($ form ) ?>
Original file line number Diff line number Diff line change 11<?php echo $ view ['form ' ]->errors ($ form ) ?>
22
3- <?php foreach ($ form-> getChildren () as $ child ): ?>
3+ <?php foreach ($ form as $ child ): ?>
44 <?php echo $ view ['form ' ]->row ($ child ); ?>
55<?php endforeach ; ?>
Original file line number Diff line number Diff line change 11{% block field_rows %}
22{% spaceless %}
33 {{ form_errors(form ) }}
4- {% for child in form . children %}
4+ {% for child in form %}
55 {{ form_row(child ) }}
66 {% endfor %}
77{% endspaceless %}
2727
2828{% block field_rest %}
2929{% spaceless %}
30- {% for child in form . children %}
30+ {% for child in form %}
3131 {% if not child .rendered %}
3232 {{ form_row(child ) }}
3333 {% endif %}
You can’t perform that action at this time.
0 commit comments