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

No custom widget HTML class possible #115

Open
barseghyanartur opened this issue Nov 17, 2016 · 2 comments
Open

No custom widget HTML class possible #115

barseghyanartur opened this issue Nov 17, 2016 · 2 comments

Comments

@barseghyanartur
Copy link

If I use captcha plugin with widget CaptchaTextInput and feed {'class': 'form-control'} attrs to it, it stil looks ugly.

CaptchaTextInput(attrs={'class': 'form-control'})
@iPAS
Copy link

iPAS commented Dec 29, 2016

I also need the same function as per your suggestion.
And, I was trying to revise the code for a while.
Unfortunately, my skill was not enough.
So, I did as the document said,
that is to copy 'site-packages/captcha/templates/captcha'
into a Django project's template directory.
Then, I revise template files inside the directory.

@ziima
Copy link
Contributor

ziima commented Apr 5, 2018

Should be solved by #139, at least in Django >= 1.11.

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

3 participants