From 0e15d4461cc9b8e8baeeab2288ef8bbc2d30c3e6 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Mon, 17 Aug 2026 03:11:37 +0200 Subject: Toggle the search widget from a button --- app/views/layouts/_nav_controls.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/views/layouts/_nav_controls.html.erb b/app/views/layouts/_nav_controls.html.erb index 66524044..44010eb6 100644 --- a/app/views/layouts/_nav_controls.html.erb +++ b/app/views/layouts/_nav_controls.html.erb @@ -1,7 +1,9 @@ <% if current_user %> <%= link_to icon("home", library: "tabler", "aria-hidden": true), admin_path, "aria-label": t(".dashboard"), title: t(".dashboard") %> - " title="<%= t(".search") %>"><%= icon("search", library: "tabler", "aria-hidden": true) %> + <% end %> <%= link_to root_path, class: "nav_toggle", "aria-label" => t(".public_site"), title: t(".public_site") do %> -- cgit v1.3