Initial commit of DEMOS2 with the upgraded 'Create Event' UI. However, there is no input validation currently
This commit is contained in:
commit
7084bd1b16
155 changed files with 8102 additions and 0 deletions
16
allauthdemo/templates/captcha/widget.html
Executable file
16
allauthdemo/templates/captcha/widget.html
Executable file
|
@ -0,0 +1,16 @@
|
|||
<script type="text/javascript">
|
||||
var DjangoRecaptchaOptions = {{options}};
|
||||
if (typeof RecaptchaOptions !== 'object') {
|
||||
RecaptchaOptions = DjangoRecaptchaOptions;
|
||||
} else {
|
||||
for (key in DjangoRecaptchaOptions) {
|
||||
RecaptchaOptions[key] = DjangoRecaptchaOptions[key];
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" src="{{api_server}}/challenge?k={{public_key}}&hl={{lang}}{{error_param}}"></script>
|
||||
<noscript>
|
||||
<iframe src="{{api_server}}/noscript?k={{public_key}}&hl={{lang}}{{error_param}}" height="300" width="500" frameborder="0"></iframe><br />
|
||||
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
|
||||
<input type='hidden' name='recaptcha_response_field' value='manual_challenge' />
|
||||
</noscript>
|
Reference in a new issue