- <form action="/search.html">
- <input type="text" name="query" value="" size="60">
- <input type="submit" value="Search">
- </form>
+ <%= 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