diff options
Diffstat (limited to 'wk9/lect/froshims/templates/index.html')
-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> |