bouquins-ror/app/views/authors/_authors.html.erb

7 lines
138 B
Plaintext
Raw Normal View History

2015-07-05 18:31:36 +00:00
<h2><%= pluralize(@authors.count, "co-author") %></h2>
<ul>
<% @authors.each do |a| %>
<li><%= link_to a.name, a %></li>
<% end %>
</ul>