Fix create_account id bug.
This commit is contained in:
parent
1c41a1d27c
commit
5975f5ddf1
|
@ -20,7 +20,7 @@
|
|||
{% endblock head %}
|
||||
|
||||
{% block content %}
|
||||
<form action="/create_account" method="post">
|
||||
<form action="/create_account" method="post" id="create-account-form">
|
||||
<div>
|
||||
<label for="login">Email: </label>
|
||||
<input id="login" maxlength="32" minlength="4" name="login" type="text" placeholder="sage@sagev.space">
|
||||
|
@ -34,9 +34,9 @@
|
|||
<a href="javascript:void(0)"
|
||||
class="wipe up-wipe"
|
||||
{% if errors %}
|
||||
onclick="/*clearErrors();*/document.getElementById('letter-form').submit()"
|
||||
onclick="/*clearErrors();*/document.getElementById('create-account-form').submit()"
|
||||
{% else %}
|
||||
onclick="document.getElementById('letter-form').submit()"
|
||||
onclick="document.getElementById('create-account-form').submit()"
|
||||
{% endif %}
|
||||
>Create Account</a>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue