blob: 2d973791a6f5b1a12e047567c4dbf61c2ac07b6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{% extends 'base.html' %}
{% block content %}
<h1>{% block title %} Enter a Location {% endblock %}</h1>
<form method="post">
{{ form.csrf_token }}
<p>
{{ form.location.label }} <br>
{{ form.location }}
</p>
<p>
{{ form.days.label }} <br>
{{ form.days }}
</p>
<p>
{{ form.forecast_type.label }} <br>
{{ form.forecast_type }}
</p>
<p>{{ form.submit() }}</p>
</form>
{% endblock %}
<form method="POST" action="/">
{{ form.name.label }} {{ form.name(size=20) }}
<input type="submit" value="Go">
</form>
|