add a go button to the search form as in bug 589
authorSteve Coast <steve@asklater.com>
Sat, 3 May 2008 14:18:22 +0000 (14:18 +0000)
committerSteve Coast <steve@asklater.com>
Sat, 3 May 2008 14:18:22 +0000 (14:18 +0000)
app/views/site/_search.rhtml
public/stylesheets/site.css

index bdfc2fb57a44df4382054f82d520ad7420d34f93..43853dcf028b3293e531aa1e546dfd42c69e6b28 100644 (file)
@@ -39,7 +39,9 @@
                        :complete => "endSearch()",
                        :url => { :controller => :geocoder, :action => :search }) do %>
       <%= text_field_tag :query, h(params[:query]) %>
-    <% end %>
+  
+      <%= submit_tag 'Go' %></td>
+      <% end %>
     </span>
     <p id="search_active">Searching...</p>
     </div>
index 51cde83920fd424f38c3e073ef8f02dfdb08e228..e1b877e039b3dc48ff34492b34e56bdca093f228 100644 (file)
@@ -354,8 +354,9 @@ hides rule from IE5-Mac \*/
   padding: 0px;
 }
 
-.optionalbox input {
-  width: 100%;
+
+.optionalbox input[type="text"] {
+  width: 110px;
 }
 
 .search_form {