File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
{{/* Star rating adapted from https://codepen.io/chris22smith/pen/MJzLJN */}}
2
+ < script src ="https://challenges.cloudflare.com/turnstile/v0/api.js " async defer > </ script >
3
+ < script >
4
+ function enableSubmit ( ) {
5
+ document . getElementById ( "submit-button" ) . disabled = false ;
6
+ }
7
+ </ script >
8
+
2
9
< form id ="page-feedback " name ="page-feedback " class ="text-sm w-full mt-24 pt-5 border-t border-t-redis-pen-700 border-opacity-50 ">
3
10
< input name ="origin " value ="{{ .Permalink }} " class ="hidden "/>
4
11
< div class ="flex flex-row justify-between ">
23
30
class =" p-2 mt-1 block w-full h-24 border border-opacity-50 border-redis-ink-900 rounded-md "
24
31
rows ="3 "
25
32
> </ textarea >
26
- < button class ="font-mono button text-redis-ink-900 border border-solid border-transparent bg-redis-red-500 hover:bg-redis-red-600 focus:bg-red-600 focus:ring-red-600; w-min justify-self-end " type ="submit ">
33
+ < div class ="cf-turnstile " data-sitekey ="0x4AAAAAABpkO-YRJzl4qTBW " data-callback ="enableSubmit "> </ div >
34
+ < button id ="submit-button " disabled class ="font-mono button text-redis-ink-900 border border-solid border-transparent bg-redis-red-500 hover:bg-redis-red-600 focus:bg-red-600 focus:ring-red-600; w-min justify-self-end " type ="submit ">
27
35
Submit
28
36
</ button >
29
37
</ div >
You can’t perform that action at this time.
0 commit comments