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

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -