User form_tag/end instead of start_form_tag/end_form_tag to avoid
deprecation warnings.
This commit is contained in:
parent
f73ec4536f
commit
aa52ebe674
10 changed files with 22 additions and 23 deletions
|
@ -1,11 +1,11 @@
|
|||
|
||||
|
||||
<div id="geocoder">
|
||||
<%= start_form_tag :controller => 'geocoder', :action => 'search' %>
|
||||
<% form_tag :controller => 'geocoder', :action => 'search' do %>
|
||||
<%= text_field 'query', 'postcode' %>
|
||||
<%= text_field 'query', 'place_name'%>
|
||||
<%= submit_tag 'Search' %>
|
||||
<%= end_form_tag %>
|
||||
<% end %>
|
||||
|
||||
<div id="geocoder-attribution">
|
||||
Geolocation provided by <a href="http://npemap.org.uk/">npemap.org.uk</a>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue