<%= link_to tag('span', { :class => "icon close"}), root_path, { :title => t('site.search.close_directions_title'), :class => "directions_close" } %>
-
- <%= text_field_tag "route_from", params[:from], :placeholder => "From", :onchange=>"OSM.routing.geocode('route_from',event)" %>
- <%= text_field_tag "route_to" , params[:to] , :placeholder => "To" , :onchange=>"OSM.routing.geocode('route_to' ,event)" %>
-
-
- <%= link_to t('site.search.close_directions'), '#', { :class => "close_directions", :title => t('site.search.close_directions_title') } %>
+
+ <%= image_tag "marker-green.png", :class => "routing_marker", :id => "marker_from", :draggable => "true" %>
+ <%= text_field_tag "route_from", params[:from], :placeholder => t('site.search.from') %>
+
+
+ <%= image_tag "marker-red.png", :class => "routing_marker", :id => "marker_to", :draggable => "true" %>
+ <%= text_field_tag "route_to" , params[:to] , :placeholder => t('site.search.to') %>
+
+
+
+ <%= submit_tag t('site.search.submit_text'), :class => "routing_go" %>
-
-<% end %>
+
<%= image_tag "searching.gif", :style => "vertical-align: middle;" %>
+
+