From: Anton Khorev Date: Sat, 1 Jun 2024 03:41:10 +0000 (+0300) Subject: Replace search button text with svg icon X-Git-Tag: live~462^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/6d25f54b0ba2e08f0a869963bf822e801da9f3f6?ds=inline;hp=--cc Replace search button text with svg icon --- 6d25f54b0ba2e08f0a869963bf822e801da9f3f6 diff --git a/app/views/layouts/_search.html.erb b/app/views/layouts/_search.html.erb index da9aa1c9e..ab37f87b5 100644 --- a/app/views/layouts/_search.html.erb +++ b/app/views/layouts/_search.html.erb @@ -7,7 +7,16 @@
<%= button_tag t("site.search.where_am_i"), :type => "button", :class => "describe_location position-absolute end-0 me-1 btn btn-sm btn-outline-primary border-0 bg-transparent text-primary link-body-emphasis link-opacity-100-hover", :title => t("site.search.where_am_i_title") %>
- <%= submit_tag t("site.search.submit_text"), :class => "btn btn-sm btn-primary", :data => { :disable_with => false } %> + <%= button_tag :class => "btn btn-sm btn-primary p-1", :title => t("site.search.submit_text") do %> + + + + + + + + + <% end %>