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

Display custom captcha in specific element or position #9

Open
muhammadyana opened this issue Jan 25, 2019 · 7 comments
Open

Display custom captcha in specific element or position #9

muhammadyana opened this issue Jan 25, 2019 · 7 comments

Comments

@muhammadyana
Copy link

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

@muhammadyana muhammadyana changed the title Display custom captcha in specific element Display custom captcha in specific element or position Jan 25, 2019
@igorkasyanchuk
Copy link
Owner

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
Copy link
Author

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 ?

@igorkasyanchuk
Copy link
Owner

  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 :)

@muhammadyana
Copy link
Author

let me try

@igorkasyanchuk
Copy link
Owner

@muhammadyana have you tried? does it work?

@NerdyBoyCool
Copy link

@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 :)

@igorkasyanchuk
Copy link
Owner

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

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