[EXP] Show all admin settings tabs when javascript is disabled

Otherwise administrators cannot access the settings from other tabs.
This commit is contained in:
Senén Rodero Rodríguez
2023-12-11 13:10:08 +01:00
committed by Javi Martín
parent 047cb2b76c
commit 6c4f917e2a
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<noscript>
<style type="text/css">
.admin .tabs-content > .tabs-panel {
display: block;
}
</style>
</noscript>

View File

@@ -2,6 +2,7 @@
<html <%= common_html_attributes %>> <html <%= common_html_attributes %>>
<head> <head>
<%= render "layouts/common_head", default_title: "Admin" %> <%= render "layouts/common_head", default_title: "Admin" %>
<%= render "layouts/no_script" %>
<%= content_for :head %> <%= content_for :head %>
</head> </head>