Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

form_widget() twig method does not extend additional class attribute #116

Closed
danielsippel opened this issue Jul 21, 2014 · 1 comment
Closed
Labels

Comments

@danielsippel
Copy link

{{ form_widget(form.city, {'attr': {'class': 'optional'}}) }}

Class optional is not added to the template. This is necessary for our frontend developers.

Thanks in advance.

@egeloen
Copy link
Owner

egeloen commented Aug 16, 2016

Your issue has been fixed in #161 but will only be part of the 3.x version of the bundle.

@egeloen egeloen closed this as completed Aug 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants