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

Style and size in Rendering #20

Open
KarypidisParis opened this issue Nov 17, 2020 · 0 comments
Open

Style and size in Rendering #20

KarypidisParis opened this issue Nov 17, 2020 · 0 comments

Comments

@KarypidisParis
Copy link

Hi! Thank you for this awesome lib.
I'm using your lib to create a IconField in my models. My issue is that I can't pass the 'size' parameter when I'm using the Rendering option.
Examle, when I'm writing this:
{{ quiz_icon.as_html size='fa-3x' }} <--- This is not working
I'm getting this error: Could not parse the remainder: ' size='fa-3x'' from 'quiz_icon.as_html size='fa-3x''

Instead, I can do that to create an icon with the default rendered.
{% fa5_icon 'check' size='fa-3x' %} <--- This is working

Is there any workaround for that?
Thank you in advance

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