<% content_for(:title, t("admin.titles.index", default: "Listing %{pluralized_model_name}", model_name: admin.model_name, pluralized_model_name: admin.model_name.pluralize)) %> <% content_for(:primary_toolbar) do %> <%= link_to icon("fa fa-plus"), admin.path(:new), class: "btn btn-default btn-lg" unless admin.readonly? %> <% end %> <% content_for(:utilities) do %> <%= render "scopes" if admin.scopes.any? %> <% end if admin.scopes.any? %> <%= render layout: "layout" do %> <%= render "table" %> <% end %>