<% per_page_options = [*Avo.configuration.per_page_steps, Avo.configuration.per_page.to_i, @index_params[:per_page].to_i] if @parent_resource.present? per_page_options.prepend Avo.configuration.via_per_page end per_page_options = per_page_options.sort.uniq %>
<%# @todo: add first & last page. make the first and last buttons rounded %> <% if @pagy.pages > 1 %> <%== pagy_nav @pagy %> <% end %>