akkounts/app/views/shared/_sidenav_settings.html.erb
Râu Cao 334b47353e
All checks were successful
continuous-integration/drone/push Build is passing
WIP Add notifications preferences page
2023-04-03 13:55:58 +02:00

13 lines
476 B
Plaintext

<%= render SidenavLinkComponent.new(
name: "Profile", path: setting_path(:profile), icon: "user",
active: current_page?(setting_path(:profile))
) %>
<%= render SidenavLinkComponent.new(
name: "Account", path: setting_path(:account), icon: "key",
active: current_page?(setting_path(:account))
) %>
<%= render SidenavLinkComponent.new(
name: "Notifications", path: setting_path(:notifications), icon: "bell",
active: current_page?(setting_path(:notifications))
) %>