igorkasyanchuk/new_google_recaptcha

Display custom captcha in specific element or position

muhammadyana opened this issue · 7 comments

Hi. is it possible to put captcha in specificif position / element?

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 ?

its look in bottom right. i want to put it after password form

screen shot 2019-01-25 at 16 55 17

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 ?

  1. 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.
  2. connect your form in gemfile
  3. see if it works
  4. make a PR
  5. 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
  6. PR will be merged to this gem and you will be added to contributors :)

let me try

@muhammadyana have you tried? does it work?

@igorkasyanchuk
May I try it ?(and make a PR)

  1. 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.
  2. connect your form in gemfile
  3. see if it works
  4. make a PR
  5. 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
  6. PR will be merged to this gem and you will be added to contributors :)

yes, anyone could make a PR. If you want - welcome :)