In these cases "setting" is the value expected by the new helper method for everything to continue rendering in the usual way. Note: All the new calls to _setting_table partial will need add setting_name param.
14 lines
373 B
Plaintext
14 lines
373 B
Plaintext
<% if feature?(:map) %>
|
|
<h2><%= t("admin.settings.index.map.title") %></h2>
|
|
|
|
<%= render "settings_table", settings: @map_configuration_settings, setting_name: "setting" %>
|
|
|
|
<p><%= t("admin.settings.index.map.help") %></p>
|
|
|
|
<%= render "map_form" %>
|
|
<% else %>
|
|
<div class="callout primary">
|
|
<%= t("admin.settings.index.map.how_to_enable") %>
|
|
</div>
|
|
<% end %>
|