<% if @book.has_cover? %>
<% end %>

<%= "Author".pluralize(@book.authors.count) %>

<% if @book.serie %>

Serie

<%= link_to @book.serie.name, @book.serie %> <%= @book.series_index.to_i %>
<% end %>

<%= "Language".pluralize(@book.languages.count) %>

<% @book.languages.each do |language| %> <%= language.lang_code %> <% end %>

<%= "Tag".pluralize(@book.tags.count) %>

<% @book.tags.each do |tag| %> <%= tag.name %> <% end %>

Details

<% if @book.has_cover? %>
<%= image_tag(cover_book_path(@book), alt: "No cover", class: "img-responsive img-rounded") %>
<% end %>