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 %}
{% 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>