<%= t(:serie_book, count: @serie.books.count) %>
<% @serie.books.in_serie.each do |book| %>
- <%= book.series_index.to_i %>. <%= link_to book.title, book %>
<% end %>
<%
authors = Array.new
@serie.books.each do |book|
authors.concat book.authors
end
if authors
authors.uniq!
authors.sort! { |x,y| x.sort <=> y.sort }
%>
<%= t(:serie_author, count: authors.count) %>
<% authors.each do |author| %>
- <%= link_to author.name, author %>
<% end%>
<% end %>