Display custom captcha in specific element or position
muhammadyana opened this issue · 7 comments
muhammadyana commented
Hi. is it possible to put captcha in specificif position / element?
igorkasyanchuk commented
How does it look for you? Please share a screenshot.
Also do you know if it's possible with this solution: https://stackoverflow.com/questions/50583284/how-do-you-set-the-badge-position-with-recaptcha-v3 ?
muhammadyana commented
its look in bottom right. i want to put it after password form
Also do you know if it's possible with this solution: https://stackoverflow.com/questions/50583284/how-do-you-set-the-badge-position-with-recaptcha-v3 ?
where the configuration? is it in new_google_recaptcha.rb
?
igorkasyanchuk commented
- try to make form of gem,
and made modifications here https://github.com/igorkasyanchuk/new_google_recaptcha/blob/master/lib/new_google_recaptcha/view_ext.rb similar to what in stackoverflow. - connect your form in gemfile
- see if it works
- make a PR
- maybe you also would need to add a new propertry to config here https://github.com/igorkasyanchuk/new_google_recaptcha/blob/master/lib/new_google_recaptcha.rb#L6
- PR will be merged to this gem and you will be added to contributors :)
muhammadyana commented
let me try
igorkasyanchuk commented
@muhammadyana have you tried? does it work?
NerdyBoyCool commented
@igorkasyanchuk
May I try it ?(and make a PR)
- try to make form of gem,
and made modifications here https://github.com/igorkasyanchuk/new_google_recaptcha/blob/master/lib/new_google_recaptcha/view_ext.rb similar to what in stackoverflow.- connect your form in gemfile
- see if it works
- make a PR
- maybe you also would need to add a new propertry to config here https://github.com/igorkasyanchuk/new_google_recaptcha/blob/master/lib/new_google_recaptcha.rb#L6
- PR will be merged to this gem and you will be added to contributors :)
igorkasyanchuk commented
yes, anyone could make a PR. If you want - welcome :)