From 6d25f54b0ba2e08f0a869963bf822e801da9f3f6 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sat, 1 Jun 2024 06:41:10 +0300 Subject: [PATCH] Replace search button text with svg icon --- app/views/layouts/_search.html.erb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 %>
-- 2.39.5