File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -80,12 +80,24 @@ Remember to turn on the service by enable is_service_enabled to be true.
80
80
81
81
For more details please check comments in config file.
82
82
83
- #### Rendering View
83
+ #### Display reCAPTCHA v3
84
+
84
85
- Pass your action name in render(...) function
85
86
- Each action should have its own mapped id which you have specified in setting file.
86
87
87
88
``` html
88
- {!! \RyanDeng\GoogleReCaptcha\Facades\GoogleReCaptchaV3::render($action1,$action2) !!}
89
+ {!! app('captcha')->display($attributes) !!}
90
+ ```
91
+
92
+ Or use Facade
93
+ ``` html
94
+ {!! GoogleReCaptchaV3::render($action1,$action2) !!}
95
+ ```
96
+
97
+ Example Usage
98
+
99
+ ``` html
100
+ {!! GoogleReCaptchaV3::render($action1,$action2) !!}
89
101
90
102
<form method =" POST" action =" /verify1" >
91
103
@csrf
@@ -99,6 +111,8 @@ For more details please check comments in config file.
99
111
<input type =" submit" class =" g-recaptcha" value =" submit" >
100
112
</form >
101
113
```
114
+
115
+
102
116
- You can pass multiple $action in render(...)
103
117
- Please specify your id for the input below:
104
118
You can’t perform that action at this time.
0 commit comments