Fix create_account id bug.

This commit is contained in:
Sage Vaillancourt 2022-09-23 19:42:08 -04:00
parent 1c41a1d27c
commit 5975f5ddf1
1 changed files with 3 additions and 3 deletions

View File

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