Use admin table settings component to render featured settings
Now, with the same template we can render all kind of settings.
This commit is contained in:
committed by
Javi Martín
parent
e7223ba865
commit
6a64f38d17
@@ -6,7 +6,7 @@
|
||||
|
||||
<h2 class="inline-block"><%= t("admin.site_customization.content_blocks.index.title") %></h2>
|
||||
|
||||
<%= render "admin/settings/settings_table", settings: @html_settings, setting_name: "setting" %>
|
||||
<%= render Admin::Settings::TableComponent.new(settings: @html_settings, setting_name: "setting") %>
|
||||
|
||||
<h3><%= t("admin.site_customization.content_blocks.information") %></h3>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user