Skip to content

Instantly share code, notes, and snippets.

@coreymcmahon
Created May 7, 2012 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coreymcmahon/2627752 to your computer and use it in GitHub Desktop.
Save coreymcmahon/2627752 to your computer and use it in GitHub Desktop.
The view code for displaying the form fields, errors, etc. Yep! That easy! - http://www.symfonycentral.com/symfony-does-validation.html
<form action="{{ path('user_create') }}" method="post" {{ form_enctype(form) }}>
{{ form_widget(form) }}
<input type="submit" />
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment