orbit-basic/app/views/desktop/co_authors/index.html.erb

21 lines
427 B
Plaintext

<table>
<tr>
<th>Name</th>
<th>EMail</th>
<th>Type</th>
<th></th>
<th></th>
<th></th>
</tr>
<% @co_authors.each do |co_author| %>
<tr>
<td><%= co_author.co_author %></td>
<td><%= co_author.email %></td>
<td><%= co_author.type%></td>
<td><%= link_to 'Destroy', desktop_co_author_path(co_author), method: :delete, confirm: 'Are you sure?' %></td>
</tr>
<% end %>
</table>
<br />