diff --git a/app.py b/app.py
index 2ad3fce..2d2a2e2 100644
--- a/app.py
+++ b/app.py
@@ -36,7 +36,13 @@ DESTINATIONS = {
@app.route('/')
def index():
today = date.today().isoformat()
- return render_template('index.html', destinations=DESTINATIONS, today=today)
+ return render_template(
+ 'index.html',
+ destinations=DESTINATIONS,
+ today=today,
+ valid_min_connections=sorted(VALID_MIN_CONNECTIONS),
+ valid_max_connections=sorted(VALID_MAX_CONNECTIONS),
+ )
VALID_MIN_CONNECTIONS = {45, 50, 60, 70, 80, 90, 100, 110, 120}
diff --git a/templates/index.html b/templates/index.html
index c8300a4..306fb90 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -47,7 +47,7 @@
Minimum connection time (Paddington → St Pancras)
@@ -58,7 +58,7 @@
Maximum connection time (Paddington → St Pancras)
diff --git a/templates/results.html b/templates/results.html
index 9e71bbb..999fe2a 100644
--- a/templates/results.html
+++ b/templates/results.html
@@ -144,7 +144,7 @@
{{ row.ticket_name }}