+<% end %>
+
+
+ <%= "Author".pluralize(@book.authors.count) %>
+
+
+ <% @book.authors.each do |author| %>
+ - <%= author.name %>
+ <% end %>
+
+ <% if @book.serie %>
+
+
+ Serie
+
+
+ <%= link_to @book.serie.name, @book.serie %>
+ <%= @book.series_index.to_i %>
+
<% end %>
-
- <% if @book.serie %>
-
-
- Serie
-
-
- <%= link_to @book.serie.name, @book.serie %>
-
<%= @book.series_index.to_i %>
+
+
+ <%= "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.pubdate %>
+ - Publishing date <%= @book.pubdate.to_formatted_s(:date) %>
+ <% end %>
+ <% if @book.publisher %>
+ - Publisher <%= @book.publisher.name %>
+ <% end %>
+
- <% end %>
-
-
- <%= "Language".pluralize(@book.languages.count) %>
-
-
- <% @book.languages.each do |language| %>
- <%= language.lang_code %>
- <% end %>
+<% if @book.has_cover? %>
+
+
"/>
-
-
- <%= "Tag".pluralize(@book.tags.count) %>
-
-
- <% @book.tags.each do |tag| %>
- <%= tag.name %>
- <% end %>
-
-
Details
-
- <% if @book.pubdate %>
- - Publishing date <%= @book.pubdate.to_formatted_s(:date) %>
- <% end %>
- <% if @book.publisher %>
- - Publisher <%= @book.publisher.name %>
- <% end %>
-
+<% end %>