eb50d766da
The consequence of this commit is that variables are accessible that have been passed to a surrounding form helper. Example template: {% block my_widget_label %} <label>{{ label }} {% endblock %} {% block my_widget_row %} {# It is not necessary to explicitely pass through the label variable #} {{ form_label(form) }} {{ form_widget(form) }} {% endblock %} Example usage: {{ form_row(form.mywidget, { 'label': 'My Widget' }) }} |
||
---|---|---|
.. | ||
Extension | ||
Fixtures | ||
Guess | ||
Util | ||
AbstractDivLayoutTest.php | ||
AbstractExtensionTest.php | ||
AbstractLayoutTest.php | ||
AbstractTableLayoutTest.php | ||
AbstractTypeTest.php | ||
FormBuilderTest.php | ||
FormFactoryTest.php | ||
FormInterface.php | ||
FormTest.php | ||
PropertyPathTest.php |