This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2012-11-30 16:21:49 +00:00
|
|
|
<h1>list all coauthor</h1>
|
|
|
|
<%= link_to "New Co-Author", new_desktop_co_author_path %>
|
|
|
|
<%= link_to "New Type", "#" %>
|
2012-11-20 17:56:30 +00:00
|
|
|
<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>
|
2012-11-30 16:21:49 +00:00
|
|
|
<td><%= link_to 'Edit', edit_desktop_co_author_path(co_author) %></td>
|
2012-11-20 17:56:30 +00:00
|
|
|
<td><%= link_to 'Destroy', desktop_co_author_path(co_author), method: :delete, confirm: 'Are you sure?' %></td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|
|
|
|
<br />
|