fixed new co-author relation bug....
This commit is contained in:
1 parent
1289ad9f9d
commit
4f31b1362b
3 files changed
+6
-5
No files matched your search
@@ -1,4 +1,6 @@
|
||||
<% @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, :class=>"bt-delete" %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
@@ -12,8 +12,6 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @co_author_relations.each do |co_author_relation| %>
|
||||
<%= render :partial => 'show_form', locals: {:co_author_relation => co_author_relation} %>
|
||||
<% end %>
|
||||
<%= render :partial => 'show_form'%>
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in new issue
Block a user