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

How to render icon field inside form? #4

Open
azaitsev opened this issue Sep 7, 2020 · 1 comment
Open

How to render icon field inside form? #4

azaitsev opened this issue Sep 7, 2020 · 1 comment

Comments

@azaitsev
Copy link

azaitsev commented Sep 7, 2020

I have a form like:

from faicon.fields import FAIconField

class SomeForm(forms.Form):
    icon = FAIconField()

And I render the field as

{{ form.icon }}

But instead a real icon field I see on webpage:

<faicon.fields.FAIconField>

What is a proper way to render icon field outside admin?

@azaitsev azaitsev changed the title How to render icon field inside from? How to render icon field inside form? Sep 7, 2020
@Bbillyben
Copy link

Hi @azaitsev
Have you found a solution in the long meantime? I've seen your post in stackoverflow but I'm too low rep to ask there.

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

2 participants