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 11{{/* 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+
29< 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 ">
310 < input name ="origin " value ="{{ .Permalink }} " class ="hidden "/>
411 < div class ="flex flex-row justify-between ">
2330 class =" p-2 mt-1 block w-full h-24 border border-opacity-50 border-redis-ink-900 rounded-md "
2431 rows ="3 "
2532 > </ 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 ">
2735 Submit
2836 </ button >
2937 </ div >
You can’t perform that action at this time.
0 commit comments