- <div class="d-flex gap-2 align-items-center">
- <div class="routing_marker_column flex-shrink-0">
- <%= image_tag "marker-green.png", :class => "img-fluid", :data => { :type => "from" }, :draggable => "true" %>
+ <div class="d-flex gap-1 align-items-center">
+ <div class="d-flex flex-column gap-1 flex-grow-1">
+ <div class="d-flex gap-2 align-items-center">
+ <div class="routing_marker_column flex-shrink-0">
+ <%= image_tag "marker-green.png", :class => "img-fluid", :data => { :type => "from" }, :draggable => "true" %>
+ </div>
+ <%= text_field_tag "route_from", params[:from], :placeholder => t("site.search.from"), :autocomplete => "on", :class => "form-control py-1 px-2", :dir => "auto" %>
+ </div>
+ <div class="d-flex gap-2 align-items-center">
+ <div class="routing_marker_column flex-shrink-0">
+ <%= image_tag "marker-red.png", :class => "img-fluid", :data => { :type => "to" }, :draggable => "true" %>
+ </div>
+ <%= text_field_tag "route_to", params[:to], :placeholder => t("site.search.to"), :autocomplete => "on", :class => "form-control py-1 px-2", :dir => "auto" %>
+ </div>