From 386da379df831c5f3a467706c252c56781e473f5 Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 11 Jun 2023 09:57:43 -0400 Subject: Add error handling for when no location results are found --- src/templates/index.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/templates/index.html') diff --git a/src/templates/index.html b/src/templates/index.html index da2a19a..dae4c7e 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -1,9 +1,14 @@ {% extends 'base.html' %} {% block content %}
-
-

Enter a Location

+
+

Enter a Location

+ {% if msg is defined %} +
+

{{ msg }}

+
+ {% endif %}
{{ form.csrf_token }} -- cgit v1.2.3