WIP Add admin settings pages, reserved username config
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Prototyping settings forms
This commit is contained in:
@@ -10,3 +10,5 @@
|
||||
<%= link_to "Lightning", admin_lightning_path,
|
||||
class: main_nav_class(@current_section, :lightning) %>
|
||||
<% end %>
|
||||
<%= link_to "Settings", admin_settings_registrations_path,
|
||||
class: main_nav_class(@current_section, :settings) %>
|
||||
|
||||
11
app/views/shared/_admin_sidenav_settings.html.erb
Normal file
11
app/views/shared/_admin_sidenav_settings.html.erb
Normal file
@@ -0,0 +1,11 @@
|
||||
<%= render SidenavLinkComponent.new(
|
||||
name: "Registrations", path: admin_settings_registrations_path, icon: "user",
|
||||
active: current_page?(admin_settings_registrations_path)
|
||||
) %>
|
||||
<%= render SidenavLinkComponent.new(
|
||||
name: "Services", path: admin_settings_services_path, icon: "grid",
|
||||
active: current_page?(admin_settings_services_path)
|
||||
) %>
|
||||
<%= render SidenavLinkComponent.new(
|
||||
name: "Security", path: "#", icon: "shield", disabled: true
|
||||
) %>
|
||||
Reference in New Issue
Block a user