geocoder stuff

This commit is contained in:
Nick Black 2007-04-14 14:12:27 +00:00
parent f6758877e8
commit e3de346bdd
3 changed files with 23 additions and 3 deletions

View file

@ -1,11 +1,19 @@
<div id="geocoder">
<%= start_form_tag :controller => 'way_tag', :action => 'search' %>
<%= text_field 'query', 'query'%>
<%= start_form_tag :controller => 'geocoder', :action => 'search' %>
<%= text_field 'query', 'postcode'%>
<%= text_field 'query', 'place_name'%>
<%= submit_tag 'Search' %>
<%= end_form_tag %>
<div id="postcode-helper">
eg SW15 6JH
</div>
<div id="placename-helper">
Essen
</div>
</div>

View file

@ -73,6 +73,6 @@ ActionController::Routing::Routes.draw do |map|
map.connect '/test/populate/:table/:count', :controller => 'test', :action => 'populate', :from => 1
# fall through
map.connect ':controller/:id/:action'
# map.connect ':controller/:id/:action'
map.connect ':controller/:action'
end

View file

@ -291,6 +291,18 @@ hides rule from IE5-Mac \*/
padding-left: 14px;
}
#placename-helper{
font-size: 10px;
position:relative; bottom:36px; left: 470px;
color: gray;
}
#postcode-helper{
font-size: 10px;
position:relative; bottom:16px; left: 180px;
color: gray;
}
.gpxsummary {
font-size: 12px;
color: gray;