put form into table

This commit is contained in:
iou1name 2019-09-29 13:23:17 -04:00
parent 4a3ab80a35
commit 52f3808318

View File

@ -14,35 +14,60 @@
<main> <main>
<section> <section>
<form method="POST" enctype="application/x-www-form-urlencoded"> <form method="POST" enctype="application/x-www-form-urlencoded">
<label for="username">Username</label> <table class="no_borders">
<input id="username" name="username" type="text" minlength="3" maxlength="20"><br> <tr>
<td><label for="username">Username</label></td>
<td><input id="username" name="username" type="text" minlength="3" maxlength="20"></td>
</tr>
{% if errors['username'] %} {% if errors['username'] %}
<tr>
<td></td>
<td>
<ul> <ul>
{% for error in errors['username'] %} {% for error in errors['username'] %}
<li class="error">{{ error }}</li> <li class="error">{{ error }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
</td>
</tr>
{% endif %} {% endif %}
<label for="email">Email</label> <tr>
<input id="email" name="email" type="email"><br> <td><label for="email">Email</label></td>
<td><input id="email" name="email" type="email"></td>
</tr>
{% if errors['email'] %} {% if errors['email'] %}
<tr>
<td></td>
<td>
<ul> <ul>
{% for error in errors['email'] %} {% for error in errors['email'] %}
<li class="error">{{ error }}</li> <li class="error">{{ error }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
</td>
</tr>
{% endif %} {% endif %}
<label for="password">Password</label> <tr>
<input id="password" name="password" type="password" minlength="8" maxlength="10240"><br> <td><label for="password">Password</label></td>
<label for="password_verify">Verify Password</label> <td><input id="password" name="password" type="password" minlength="8" maxlength="10240"></td>
<input id="password_verify" name="password_verify" type="password" minlength="8" maxlength="10240"><br> </tr>
<tr>
<td><label for="password_verify">Verify Password</label></td>
<td><input id="password_verify" name="password_verify" type="password" minlength="8" maxlength="10240"></td>
</tr>
{% if errors['password'] %} {% if errors['password'] %}
<tr>
<td></td>
<td>
<ul> <ul>
{% for error in errors['password'] %} {% for error in errors['password'] %}
<li class="error">{{ error }}</li> <li class="error">{{ error }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
</td>
</tr>
{% endif %} {% endif %}
</table>
<input type="submit" value="Register"> <input type="submit" value="Register">
</form> </form>
</section> </section>