diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-09 10:03:44 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-09 10:03:44 +0000 |
commit | 9be3fed65ad925fd2ccac6cc2853eb9958ab204c (patch) | |
tree | e40be614bad4d8cb2d48c7df831e957e75691a0c | |
parent | 66485a40fb0e7a3905241c1fcfe10a6feef51a3b (diff) |
Tue, Jul 9, 2024, 3:03 AM -07:00
-rw-r--r-- | wk9/lect/froshims/templates/index.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/wk9/lect/froshims/templates/index.html b/wk9/lect/froshims/templates/index.html index 03eabb0..de6cad2 100644 --- a/wk9/lect/froshims/templates/index.html +++ b/wk9/lect/froshims/templates/index.html @@ -5,12 +5,9 @@ <h1>Register</h1> <form action="/register" method="post"> <input autocomplete="off" autofocus name="name" placeholder="Name" type="text"> - <select name="sport"> - <option disabled selected value="">Sport</option> {% for sport in sports %} - <option>{{sport}}</option> + <input name="sport" type="radio" value={{sport}}>{{sport}} {% endfor %} - </select> <button type="submit">Register</button> </form> |