We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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!
The text was updated successfully, but these errors were encountered: