aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Bacon <luke@equivalentideas.com>2015-04-01 12:34:11 +1100
committerLuke Bacon <luke@equivalentideas.com>2015-04-01 12:34:11 +1100
commitecfa1bfe0eceaa48d0e46bfb2d1fbb429879fcd1 (patch)
tree23b092c302083fd5b115d981eda90010b376c26f
parentebaac72727ff2aaf0e25ca3760b00959f4f2ecf0 (diff)
add search button
so citizens can submit form with click or tap as is common part of issue #2210
-rw-r--r--app/views/general/_responsive_topnav.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/general/_responsive_topnav.html.erb b/app/views/general/_responsive_topnav.html.erb
index 0ece0da9a..df7998f21 100644
--- a/app/views/general/_responsive_topnav.html.erb
+++ b/app/views/general/_responsive_topnav.html.erb
@@ -26,6 +26,11 @@
<img src="/assets/search.png" alt="Search:">
</label>
<%= text_field_tag 'query', params[:query], { :id => "navigation_search_button", :title => "type your search term here" } %>
+ <button type="submit">
+ <span class="visually-hidden">
+ Submit Search
+ </span>
+ </button>
</form>
</li>
</ul>