|
4 | 4 | <form action="" method="POST" class="account-form"> |
5 | 5 | <h1>Register at PyPI</h1> |
6 | 6 |
|
7 | | - <input name="name" type="text" placeholder=" Your name" class="form-control" value="${ name }"> |
8 | | - <input name="email" type="text" placeholder=" Your email address" class="form-control" value="${ email }"> |
9 | | - <input name="password" type="password" placeholder=" Password" class="form-control" value="${ password }"> |
10 | | - <input name="age" type="number" placeholder=" Your age in years" style="display: block; width: 100%"> |
| 7 | + <input name="name" type="text" placeholder=" Your name" class="form-control" value="${ name }" required> |
| 8 | + <input name="email" type="email" placeholder=" Your email address" class="form-control" value="${ email }" required> |
| 9 | + <input name="password" minlength="5"type="password" placeholder=" Password" class="form-control" value="${ password }" required> |
| 10 | + <input name="age" type="number" min="18"max="120"placeholder=" Your age in years" style="display: block; width: 100%" required> |
11 | 11 | <button type="submit" class="btn btn-danger">Register</button> |
12 | 12 | <div style="clear: both;"></div> |
13 | 13 |
|
|
0 commit comments