Last active
January 13, 2018 19:48
-
-
Save weaverryan/c6136de72f3e20940b5fb61859c0d4dc to your computer and use it in GitHub Desktop.
fosU registration form
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
{# ... #} | |
{% block body %} | |
{{ form_start(form, {'method': 'post', 'action': path('fos_user_registration_register'), 'attr': {'class': 'fos_user_registration_register'}}) }} | |
{{ form_row(form.email, { | |
attr: { class: 'some-custom-class'} | |
}) }} | |
{{ form_row(form.username) }} | |
{{ form_row(form.plainPassword) }} | |
<div> | |
<input type="submit" value="{{ 'registration.submit'|trans }}" /> | |
</div> | |
{{ form_end(form) }} | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment