bouquins-ror/app/views/authors/_authors.html.erb
2015-07-05 20:31:36 +02:00

7 lines
138 B
Plaintext

<h2><%= pluralize(@authors.count, "co-author") %></h2>
<ul>
<% @authors.each do |a| %>
<li><%= link_to a.name, a %></li>
<% end %>
</ul>