prevent double clicks on reg button
This definitely prevents to problem from occurring!pull/1/head
parent
9556c4a792
commit
e4cb8f741c
|
@ -132,7 +132,7 @@ function put_un_in_cookie2(){
|
|||
<input id="id_password2_main" type="password" class="required" name="password2" size="30" />
|
||||
</div>
|
||||
<div class="button">
|
||||
<input type="submit" class="signup" value="sign up" />
|
||||
<input type="submit" class="signup" value="sign up" onclick="this.disabled=true,this.form.submit();" />
|
||||
</div>
|
||||
<div class="google_signup">
|
||||
<a href="/socialauth/login/google?next=/next/"><img src="{{ STATIC_URL }}images/auth/google_32_noborder.png" alt="google" /></a><div><a href="/socialauth/login/google?next=/next/">Sign Up With Google</a></div>
|
||||
|
|
|
@ -55,7 +55,7 @@ function put_un_in_cookie(){
|
|||
<input id="id_password2_main" type="password" class="required" name="password2" size="30" />
|
||||
</div>
|
||||
<div class="button">
|
||||
<input type="submit" class="signup" value="Sign Up" />
|
||||
<input type="submit" class="signup" value="Sign Up" onclick="this.disabled=true,this.form.submit();" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ function put_un_in_cookie(){
|
|||
<div>{{ form.email.label }}: {{ form.email.errors }}<br />{{ form.email }}</div>
|
||||
<div>{{ form.password1.label }}: {{ form.password1.errors }}<br />{{ form.password1 }}</div>
|
||||
<div>{{ form.password2.label }}: {{ form.password2.errors }}<br />{{ form.password2 }}</div>
|
||||
<input type="submit" value="Send activation email" />
|
||||
<input type="submit" value="Send activation email" onclick="this.disabled=true,this.form.submit();" />
|
||||
</form>
|
||||
|
||||
<div>
|
||||
|
|
Loading…
Reference in New Issue