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

Feature Request: Badge Configuration #30

Closed
warkior opened this issue Sep 25, 2019 · 1 comment
Closed

Feature Request: Badge Configuration #30

warkior opened this issue Sep 25, 2019 · 1 comment
Labels
Projects

Comments

@warkior
Copy link

warkior commented Sep 25, 2019

I was just wondering if it is possible to configure where the badge shows up on the page. We are using the Invisible captcha, and it shows the small Google badge in the bottom right corner. We also have another JS tool that displays a badge in the same corner.

Looks like it is possible to adjust the badge location in the Google docs, but I'm not sure if it is possible to use these settings in the Laravel configuration.
See data-badge on this page...
https://developers.google.com/recaptcha/docs/invisible

Thanks in advance!

@biscolab biscolab added this to To do in v4 via automation Sep 26, 2019
@biscolab
Copy link
Owner

biscolab commented Sep 26, 2019

Hi @warkior, you can set data-badge tag attribute calling htmlFormButton helper:

{!! htmlFormButton("Submit", [
// Other properties
    'data-badge' => 'bottomleft' // default is 'bottomright', 'inline' lets you position it with CSS.
]) !!}

I'll work to improve invisible g-recaptcha tag attributes in the next release.

v4 automation moved this from To do to Done Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
v4
  
Done
Development

No branches or pull requests

2 participants