django-simple-captcha icon indicating copy to clipboard operation
django-simple-captcha copied to clipboard

No custom widget HTML class possible

Open barseghyanartur opened this issue 9 years ago • 2 comments

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'})

barseghyanartur avatar Nov 17 '16 00:11 barseghyanartur

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.

iPAS avatar Dec 29 '16 08:12 iPAS

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

ziima avatar Apr 05 '18 10:04 ziima