<% page_title = @resource.model_name.human(count: 2) admin_title(page_title) %> <% content_for :main_grid do %> <%= render 'index' %>

<%= page_title %>

<%= admin_search %>
<%= admin_display_flash_message %> <% if @resource.typus_options_for(:counters) || @resource.typus_scopes.any? || predefined_filters.any? %>
<% end %> <%= build_filters %> <% if @items.any? -%> <% if controller.respond_to?(:bulk) %> <%= build_actions { build_list(@resource, fields, @items) } %> <% else %> <%= build_list(@resource, fields, @items) %> <% end %> <%= admin_paginate %> <% else %>

<%= Typus::I18n.t("No entries found.") %>

<% end %> <% end %>