diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/templates/index.html b/templates/index.html index 2d97379..a877fef 100644 --- a/templates/index.html +++ b/templates/index.html | |||
@@ -4,23 +4,7 @@ | |||
4 | <h1>{% block title %} Enter a Location {% endblock %}</h1> | 4 | <h1>{% block title %} Enter a Location {% endblock %}</h1> |
5 | <form method="post"> | 5 | <form method="post"> |
6 | {{ form.csrf_token }} | 6 | {{ form.csrf_token }} |
7 | <p> | 7 | {{ form.location }} |
8 | {{ form.location.label }} <br> | 8 | {{ form.submit() }} |
9 | {{ form.location }} | ||
10 | </p> | ||
11 | <p> | ||
12 | {{ form.days.label }} <br> | ||
13 | {{ form.days }} | ||
14 | </p> | ||
15 | <p> | ||
16 | {{ form.forecast_type.label }} <br> | ||
17 | {{ form.forecast_type }} | ||
18 | </p> | ||
19 | <p>{{ form.submit() }}</p> | ||
20 | </form> | 9 | </form> |
21 | {% endblock %} | 10 | {% endblock %} |
22 | |||
23 | <form method="POST" action="/"> | ||
24 | {{ form.name.label }} {{ form.name(size=20) }} | ||
25 | <input type="submit" value="Go"> | ||
26 | </form> | ||