From c693069db6ddce4582209a1cf60a564f6947bd56 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Tue, 14 Jul 2026 01:40:23 +0200 Subject: Add tooltips to all navbar items --- app/views/admin/_menu.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/admin/_menu.html.erb b/app/views/admin/_menu.html.erb index 970429d..7270df4 100644 --- a/app/views/admin/_menu.html.erb +++ b/app/views/admin/_menu.html.erb @@ -1,5 +1,5 @@ -<%= link_to icon("home", library: "tabler", "aria-hidden": true), admin_path, "aria-label": "Dashboard" %> -<%= icon("search", library: "tabler", "aria-hidden": true) %> -<%= button_to logout_path, method: :delete, aria: { label: "Log out" } do %> +<%= link_to icon("home", library: "tabler", "aria-hidden": true), admin_path, "aria-label": "Dashboard", title: "Dashboard" %> +<%= icon("search", library: "tabler", "aria-hidden": true) %> +<%= button_to logout_path, method: :delete, aria: { label: "Log out" }, title: "Log out" do %> <%= icon("logout", library: "tabler", "aria-hidden": true) %> <% end %> -- cgit v1.3