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 datetime .

There is no trace of property in label . How could it be ?!

For example, you can show a field labeled "myDate":

  & lt; Div & gt; {{Form_label (form.mydate, 'Select a date: (This is a label sentence)')}}   

(Documentation)

You can render your form:

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -