<% cache [@settings, params[:monitor_mode]] do %> <% unless params[:monitor_mode] == Sail::ConstantCollection::TRUE %> <%= render(partial: "search") %> <% end %>
<% if @number_of_pages > 0 %> <% if params[:monitor_mode] == Sail::ConstantCollection::TRUE %> <%= render(partial: "setting_minimal", collection: @settings) %> <% else %> <%= render(partial: "setting", collection: @settings) %> <% end%> <% else %>

<%= I18n.t("sail.no_settings") %>

<% end %>
<% end %>
<%= render(partial: "profiles_modal") %> <%= render(partial: "guide_modal", locals: { settings: @settings }) %>