02d2121dcd
Fields are not available in the templates anymore. Instead, all required information can be accessed through view variables. Example usage of helpers and variables in a form theme: // use the label helper {{ this.label('my label') }} // use the label variable {{ this.vars.label }} {{ label }} Example usage of helpers and variables in a normal template: // use the label helper {{ field.label('my label') }} // use the label variable {{ field.vars.label }} |
||
---|---|---|
.. | ||
CsrfProvider | ||
FieldFactory | ||
Fixtures | ||
ValueTransformer | ||
ChoiceFieldTest.php | ||
CollectionFieldTest.php | ||
CountryFieldTest.php | ||
DateFieldTest.php | ||
DateTimeFieldTest.php | ||
DateTimeTestCase.php | ||
DoctrineOrmTestCase.php | ||
EntityChoiceFieldTest.php | ||
FieldTest.php | ||
FileFieldTest.php | ||
FormTest.php | ||
HiddenFieldTest.php | ||
IntegerFieldTest.php | ||
LanguageFieldTest.php | ||
LocaleFieldTest.php | ||
LocalizedTestCase.php | ||
PasswordFieldTest.php | ||
PropertyPathTest.php | ||
RepeatedFieldTest.php | ||
TestCase.php | ||
TimeFieldTest.php | ||
TimezoneFieldTest.php | ||
UrlFieldTest.php |