<% @co_authors.each_with_index do |co_author,i| %>
<% if ( i % 5 ) == 0 %>
<% end %>
-
<%= link_to 'Edit', edit_desktop_co_author_path(co_author), :class => "bt-edit" %>
<%= link_to 'Destroy', desktop_co_author_path(co_author), method: :delete, confirm: 'Are you sure?', :class=>"bt-delete" %>
- <%= co_author.co_author %>
- <%= co_author.email %>
- <%= @co_author_relations.find(co_author.co_author_relations_id).relation \
unless co_author.co_author_relations_id.nil?%>
<% if ( i % 5 ) == 4 %>
<% end %>
<% end %>