refine co-authro page
This commit is contained in:
1 parent
cc6339d59b
commit
a0fc2caaf6
3 files changed
+7
-20
No files matched your search
@@ -1,3 +1,6 @@
|
||||
<h1>list all coauthor</h1>
|
||||
<%= link_to "New Co-Author", new_desktop_co_author_path %>
|
||||
<%= link_to "New Type", "#" %>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
@@ -13,6 +16,7 @@
|
||||
<td><%= co_author.co_author %></td>
|
||||
<td><%= co_author.email %></td>
|
||||
<td><%= co_author.type%></td>
|
||||
<td><%= link_to 'Edit', edit_desktop_co_author_path(co_author) %></td>
|
||||
<td><%= link_to 'Destroy', desktop_co_author_path(co_author), method: :delete, confirm: 'Are you sure?' %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
Reference in new issue
Block a user