<%= link_to "Create new #{resource_instance_name.to_s.humanize}", polymorphic_url(resource_class, action: :new), class: "btn btn-primary btn-right" %>

<%= resource_collection_name.to_s.humanize %>

<% if scopes_configuration %> <%= render "scope_filters" %> <% end %> <% list_fields.each do |list_field| %> <% end %> <%= render "list", collection: collection, list_fields: list_fields %>
<%= list_field.humanize %>
<%= will_paginate collection %>