- Render remote census configuration content on settings index. - Update type method from Setting On Admin::SettingsController#index we are using 'all_settings' to group all settings by 'type' method. 'type' method return the first part of key when split by '.' To allow use by example: all_settings["remote_census.general"] and recover only settings related with this key we have added new 'elsif' on 'type' method.
33 lines
886 B
Plaintext
33 lines
886 B
Plaintext
<h1>Settings</h1>
|
|
<div class="tabs-content" data-tabs-content="settings-tabs">
|
|
<%= render "filter_subnav" %>
|
|
|
|
<div class="tabs-panel is-active" id="tab-configuration">
|
|
<%= render "configuration_settings_tab" %>
|
|
</div>
|
|
|
|
<div class="tabs-panel" id="tab-participation-processes">
|
|
<%= render "participation_processes_tab" %>
|
|
</div>
|
|
|
|
<div class="tabs-panel" id="tab-feature-flags">
|
|
<%= render "features_tab" %>
|
|
</div>
|
|
|
|
<div class="tabs-panel" id="tab-map-configuration">
|
|
<%= render "map_configuration_tab" %>
|
|
</div>
|
|
|
|
<div class="tabs-panel" id="tab-images-and-documents">
|
|
<%= render "images_and_documents_tab" %>
|
|
</div>
|
|
|
|
<div class="tabs-panel" id="tab-proposals">
|
|
<%= render "proposals_dashboard" %>
|
|
</div>
|
|
|
|
<div class="tabs-panel" id="tab-remote-census-configuration">
|
|
<%= render "remote_census_configuration_tab" %>
|
|
</div>
|
|
</div>
|