Feature Request: Badge Configuration
warkior opened this issue · 1 comments
warkior commented
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 commented
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.