-
<%= link_to edit_user_registration_path, class: "flex items-center gap-2 p-2" do %>
Settings
<% end %>
<% if current_user.admin? %>
-
<%= link_to admin_root_path, class: "flex items-center gap-2 p-2" do %>
Admin Dashboard
<% end %>
<% end %>
-
<%= button_to destroy_user_session_path,
method: :delete,
class: "flex items-center gap-2 p-2 w-full text-left hover:bg-base-200 rounded-lg" do %>
Sign out
<% end %>