<% opts = { data: { url: url_for, remote: true, method: :get } } content_for :latest_filter do %>
<%= label_tag "sort", t(:sort_by) %>
<% end %> <%= render'layouts/filter' %> <%= will_paginate class: "center" %> <% @books.each do |book| %> <% end %>
<%= t :col_book_title %> <%= t :col_book_authors %> <%= t :col_book_serie %>
<%= link_to book.title, book %> <% book.authors.each do |author| %> <%= link_to author.name, author %> <% end %> <% if book.serie %> <%= link_to book.serie.name, book.serie %> <%= book.series_index.to_i %> <% end %>
<%= will_paginate class: "center" %>