feat(form): add required attribute

This commit is contained in:
Bilelz
2022-10-21 10:15:01 +02:00
committed by GitHub
parent 8cd649eac0
commit 534499e972
3 changed files with 6 additions and 6 deletions

View File

@@ -3,8 +3,8 @@
{% block content %}
<form method="post" class=login>
<table>
<tr><td>Username</td><td><input type="text" name="username"></td></tr>
<tr><td>Password</td><td><input type="password" name="password"></td></tr>
<tr><td>Username</td><td><input type="text" name="username" required></td></tr>
<tr><td>Password</td><td><input type="password" name="password" required></td></tr>
</table>
<input type="submit" value="Login">
</form>