Skip to content

Commit a3cb85e

Browse files
committed
Session 10 - you searched for text
1 parent 91af556 commit a3cb85e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/community_db/templates/base.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ <h1>Welcome to the Pacific Connect Community Database</h1>
55
On this site, you can find details of members of the Pacific Connect Community Database
66
<br>
77
<form>
8-
Search: <input type="text" name="search" value="{{ search_text }}" /><input type="submit">
8+
Search: <input type="text" name="search" /><input type="submit">
99
</form>
10+
{% if search_text %}
11+
Search results for: {{ search_text }}
12+
{% endif %}
13+
<br>
1014
{% block content %}{% endblock %}
1115
</body>
1216

0 commit comments

Comments
 (0)