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

field_type filter is not a valid input for add_class filter #43

Open
josselineperdomo opened this issue Dec 30, 2016 · 0 comments
Open

Comments

@josselineperdomo
Copy link

Hi! I try add the field_type filter as a class to a field as a follow:

{% with "{{field|field_type}}" as field_type %} {% render_field field class+="form-control {{field_type}}" required="true" %} {% endwith %}

But this way doesn't work.

Please, anyone could tell me how add this filter as a field's class?

Thanks!

PD: I'm sorry for my English!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant