From 945df7f195e23425396f7fb44549ba76f1ef4fd8 Mon Sep 17 00:00:00 2001 From: Steve Coast Date: Sat, 3 May 2008 14:18:22 +0000 Subject: [PATCH] add a go button to the search form as in bug 589 --- app/views/site/_search.rhtml | 4 +++- public/stylesheets/site.css | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/views/site/_search.rhtml b/app/views/site/_search.rhtml index bdfc2fb57..43853dcf0 100644 --- a/app/views/site/_search.rhtml +++ b/app/views/site/_search.rhtml @@ -39,7 +39,9 @@ :complete => "endSearch()", :url => { :controller => :geocoder, :action => :search }) do %> <%= text_field_tag :query, h(params[:query]) %> - <% end %> + + <%= submit_tag 'Go' %> + <% end %>

Searching...

diff --git a/public/stylesheets/site.css b/public/stylesheets/site.css index 51cde8392..e1b877e03 100644 --- a/public/stylesheets/site.css +++ b/public/stylesheets/site.css @@ -354,8 +354,9 @@ hides rule from IE5-Mac \*/ padding: 0px; } -.optionalbox input { - width: 100%; + +.optionalbox input[type="text"] { + width: 110px; } .search_form { -- 2.43.2