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

@@ -13,8 +13,8 @@
<br>
<form method="post" action=edit/password/>
<table>
<tr><td>Old password</td><td><input type=password name=old></td></tr>
<tr><td>New password</td><td><input type=password name=new></td></tr>
<tr><td>Old password</td><td><input type=password name=old required></td></tr>
<tr><td>New password</td><td><input type=password name=new required></td></tr>
</table>
<input type="submit" value="Set password">
</form>