|
|
|
@ -42,7 +42,7 @@
|
|
|
|
|
<div class="padding30">
|
|
|
|
|
<p class="mb10 clearfix">
|
|
|
|
|
<span class="color-grey-6 font-16 mr10">详情</span>
|
|
|
|
|
<% if admin_or_business? || @library.user_id == User.current.id && @Library.pending? %>
|
|
|
|
|
<% if admin_or_business? || @library.user_id == User.current.id && @library.pending? %>
|
|
|
|
|
<%= link_to '删除', 'javascript:void(0);', data: { id: @library.id },
|
|
|
|
|
class: 'white-btn edu-blueline-btn fr ml20 delete-btn' %>
|
|
|
|
|
<% end %>
|
|
|
|
|