Created
December 8, 2011 12:33
-
-
Save craue/1446863 to your computer and use it in GitHub Desktop.
custom labels for Symfony2 repeated field
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
{{ form_label(form.myField.first, '1st label') }} | |
{{ form_errors(form.myField) }} | |
{{ form_widget(form.myField.first) }} | |
</div> | |
<div> | |
{{ form_label(form.myField.second, '2nd label') }} | |
{{ form_widget(form.myField.second) }} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice, thanks