put form into table
This commit is contained in:
parent
4a3ab80a35
commit
52f3808318
|
@ -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'] %}
|
||||||
<ul>
|
<tr>
|
||||||
{% for error in errors['username'] %}
|
<td></td>
|
||||||
<li class="error">{{ error }}</li>
|
<td>
|
||||||
{% endfor %}
|
<ul>
|
||||||
</ul>
|
{% for error in errors['username'] %}
|
||||||
|
<li class="error">{{ error }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</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'] %}
|
||||||
<ul>
|
<tr>
|
||||||
{% for error in errors['email'] %}
|
<td></td>
|
||||||
<li class="error">{{ error }}</li>
|
<td>
|
||||||
{% endfor %}
|
<ul>
|
||||||
</ul>
|
{% for error in errors['email'] %}
|
||||||
|
<li class="error">{{ error }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</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'] %}
|
||||||
<ul>
|
<tr>
|
||||||
{% for error in errors['password'] %}
|
<td></td>
|
||||||
<li class="error">{{ error }}</li>
|
<td>
|
||||||
{% endfor %}
|
<ul>
|
||||||
</ul>
|
{% for error in errors['password'] %}
|
||||||
|
<li class="error">{{ error }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</table>
|
||||||
<input type="submit" value="Register">
|
<input type="submit" value="Register">
|
||||||
</form>
|
</form>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user