Skip to content

Commit dbc907f

Browse files
authored
Merge pull request #133 from cmu-delphi/OKRS24-183-Signals-Display-search-field-text-at-the-top-of-the-page-and-keep-it-in-text-entry-box-for-editing
Okrs24 183 signals display search field text at the top of the page and keep it in text entry box for editing
2 parents d7b671a + cf8a6bb commit dbc907f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/templates/signals/signals.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
<form method="GET" id="filters-form">
1111
<div class="card">
1212
<div class="form-group">
13-
<br>
1413
<div class="card-body">
1514
<h5 class="card-title">
1615
Search
1716
</h5>
1817
<div class="input-group">
19-
<input type="search" class="form-control border" name="{{ filter.form.search.name }}"
20-
id="example-search-input" placeholder="Search" title="Enter search keyword">
18+
<input class="form-control border" type="search" name="{{ filter.form.search.name }}" id="example-search-input"
19+
placeholder="Search" title="Enter search keyword"
20+
value="{% if filter.form.search.value %}{{ filter.form.search.value }}{% endif %}"
21+
>
2122
</div>
2223
</div>
2324
<div class="accordion">

0 commit comments

Comments
 (0)