symfony - Show labels for datetime form fields in Symfony2 -
I am using Symfony2.1 (beta). I can not find a way to display labels in the field as the There is no trace of property in For example, you can show a field labeled "myDate": (Documentation) You can render your form: datetime .
label . How could it be ?!
& lt; Div & gt; {{Form_label (form.mydate, 'Select a date: (This is a label sentence)')}}
Comments
Post a Comment