19 lines
406 B
Plaintext
19 lines
406 B
Plaintext
|
<h1>Listing co_author_relations</h1>
|
||
|
|
||
|
<%= render 'form' %>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<th>Relation</th>
|
||
|
<th></th>
|
||
|
<th></th>
|
||
|
</tr>
|
||
|
|
||
|
<% @co_author_relations.each do |co_author_relation| %>
|
||
|
<tr>
|
||
|
<td><%= co_author_relation.relation %></td>
|
||
|
<td><%= link_to 'Destroy', desktop_co_author_relation_path(co_author_relation), confirm: 'Are you sure?', method: :delete %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</table>
|