aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..2d97379
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,26 @@
1{% extends 'base.html' %}
2
3{% block content %}
4<h1>{% block title %} Enter a Location {% endblock %}</h1>
5<form method="post">
6 {{ form.csrf_token }}
7 <p>
8 {{ form.location.label }} <br>
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>
21{% endblock %}
22
23<form method="POST" action="/">
24 {{ form.name.label }} {{ form.name(size=20) }}
25 <input type="submit" value="Go">
26</form>