Add :tab param to others calls to _setting_table partial

Allow redirect to their tab after update a Setting
This commit is contained in:
taitus
2019-04-10 15:03:45 +02:00
committed by Javi Martín
parent ca0979bd45
commit 71af3e8789
10 changed files with 80 additions and 15 deletions

View File

@@ -1,3 +1,3 @@
<h2><%= t("admin.settings.index.title") %></h2>
<%= render "settings_table", settings: @configuration_settings, setting_name: "setting" %>
<%= render "settings_table", settings: @configuration_settings, setting_name: "setting", tab: "#tab-configuration" %>