coauthor edit and destroy fixed

This commit is contained in:
harrybomrah committed 2012-12-03 12:23:56 +08:00
1 parent a0fc2caaf6
commit 7d865a65e2
4 files changed
+52 -4

No files matched your search

+2 -2
View File
@@ -16,8 +16,8 @@
<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>
<td><%= link_to 'Edit', edit_desktop_co_author_path(co_author), :class => "bt-edit" %></td>
<td><%= link_to 'Destroy', desktop_co_author_path(co_author), method: :delete, confirm: 'Are you sure?', :class=>"bt-delete" %></td>
</tr>
<% end %>
</table>