akkounts/app/views/shared/_sidenav_settings.html.erb

12 lines
405 B
Plaintext

<%= render SidenavLinkComponent.new(
name: "Profile", path: settings_profile_path, icon: "user",
active: current_page?(settings_profile_path)
) %>
<%= render SidenavLinkComponent.new(
name: "Account", path: settings_account_path, icon: "key",
active: current_page?(settings_account_path)
) %>
<%= render SidenavLinkComponent.new(
name: "Security", path: "#", icon: "shield", disabled: true
) %>