put form into table
This commit is contained in:
parent
4a3ab80a35
commit
52f3808318
|
@ -14,35 +14,60 @@
|
|||
<main>
|
||||
<section>
|
||||
<form method="POST" enctype="application/x-www-form-urlencoded">
|
||||
<label for="username">Username</label>
|
||||
<input id="username" name="username" type="text" minlength="3" maxlength="20"><br>
|
||||
<table class="no_borders">
|
||||
<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'] %}
|
||||
<ul>
|
||||
{% for error in errors['username'] %}
|
||||
<li class="error">{{ error }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<ul>
|
||||
{% for error in errors['username'] %}
|
||||
<li class="error">{{ error }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<label for="email">Email</label>
|
||||
<input id="email" name="email" type="email"><br>
|
||||
<tr>
|
||||
<td><label for="email">Email</label></td>
|
||||
<td><input id="email" name="email" type="email"></td>
|
||||
</tr>
|
||||
{% if errors['email'] %}
|
||||
<ul>
|
||||
{% for error in errors['email'] %}
|
||||
<li class="error">{{ error }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<ul>
|
||||
{% for error in errors['email'] %}
|
||||
<li class="error">{{ error }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<label for="password">Password</label>
|
||||
<input id="password" name="password" type="password" minlength="8" maxlength="10240"><br>
|
||||
<label for="password_verify">Verify Password</label>
|
||||
<input id="password_verify" name="password_verify" type="password" minlength="8" maxlength="10240"><br>
|
||||
<tr>
|
||||
<td><label for="password">Password</label></td>
|
||||
<td><input id="password" name="password" type="password" minlength="8" maxlength="10240"></td>
|
||||
</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'] %}
|
||||
<ul>
|
||||
{% for error in errors['password'] %}
|
||||
<li class="error">{{ error }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<ul>
|
||||
{% for error in errors['password'] %}
|
||||
<li class="error">{{ error }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
</table>
|
||||
<input type="submit" value="Register">
|
||||
</form>
|
||||
</section>
|
||||
|
|
Loading…
Reference in New Issue
Block a user