Skip to content

Commit bf24ee4

Browse files
authored
Update README.md
1 parent 247d976 commit bf24ee4

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,21 @@ Note: if you want to enable Score Comparision, you also need to enable is_score_
6666
Remember to turn on the service by enable is_service_enabled to be true.
6767

6868
For more details please check comments in config file.
69-
70-
{!! \RyanDeng\GoogleReCaptcha\Facades\GoogleReCaptchaV3::render($action1,$action2) !!}
71-
72-
<form method="POST" action="/verify1">
69+
``` html
70+
{!! \RyanDeng\GoogleReCaptcha\Facades\GoogleReCaptchaV3::render($action1,$action2) !!}
71+
72+
<form method="POST" action="/verify1">
73+
@csrf
74+
<input type="hidden" id="your_id_1" name="g-recaptcha-response">
75+
<input type="submit" class="g-recaptcha" value="submit">
76+
</form>
77+
78+
<form method="POST" action="/verify2">
7379
@csrf
74-
<input type="hidden" id="your_id_1" name="g-recaptcha-response">
80+
<input type="hidden" id="your_id_2" name="g-recaptcha-response">
7581
<input type="submit" class="g-recaptcha" value="submit">
76-
</form>
77-
78-
<form method="POST" action="/verify2">
79-
@csrf
80-
<input type="hidden" id="your_id_2" name="g-recaptcha-response">
81-
<input type="submit" class="g-recaptcha" value="submit">
82-
</form>
83-
82+
</form>
83+
```
8484
- You can pass multiple $action in render(...)
8585
- Please specify your id for the input below:
8686

0 commit comments

Comments
 (0)