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

widget support the kwargs to add custom html attributes #353

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thivolle-cazat-cedric
Copy link

it possible to add custom html attributs to the recaptcha widget, to add id or class.
Default values is the field.id for id and 'g-recaptcha' for the class.

@codecov-io
Copy link

codecov-io commented Jan 1, 2019

Codecov Report

Merging #353 into master will decrease coverage by 0.1%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #353      +/-   ##
==========================================
- Coverage   99.67%   99.56%   -0.11%     
==========================================
  Files          18       18              
  Lines         911      917       +6     
  Branches       74       77       +3     
==========================================
+ Hits          908      913       +5     
  Misses          3        3              
- Partials        0        1       +1
Impacted Files Coverage Δ
flask_wtf/recaptcha/widgets.py 96.77% <88.88%> (-3.23%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b029c3...cc6bdd6. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants