Add captcha code integration instructions to edit page.

In the captcha tokens edit page, a new section has been added to provide instructions for integrating the captcha code in user's website. This aims to facilitate ease of integration for users, by providing them a readily available code snippet.
This commit is contained in:
2023-12-04 22:44:40 +06:00
parent 630c316aaf
commit 63d3c8cc6e
3 changed files with 13 additions and 1 deletions

View File

@@ -16,4 +16,14 @@
</div>
</div>
</div>
<div class="row">
<div class="col-12 mb-4">
<div class="card border-0 shadow components-section">
<div class="card-body">
<p>{{ __('Add code to the site') }}:</p>
<textarea style="width: 100%; height: 75px;"><div class="captcha-service-kor-elf" data-domain="{{ rtrim(asset('/'), '/') }}" data-static-path="{{ asset('captcha') }}" data-token="{{ $captchaToken->public_token }}" data-captcha-verified-name="captcha-verified"></div><script src="{{ asset('captcha/script.js') }}" async></script></textarea>
</div>
</div>
</div>
</div>
</x-private.layout>