published library disable publish action

dev_bj
p31729568 5 years ago
parent 763dac6cd5
commit 9a87534f1c

@ -49,7 +49,9 @@
</div>
<div class="operate mt20 mb20 clearfix">
<%= link_to '申请发布', 'javascript:void(0)', class: 'white-btn edu-blueback-btn changebtn mr20 fl apply-publish-btn' %>
<% unless @library.published? %>
<%= link_to '申请发布', 'javascript:void(0)', class: 'white-btn edu-blueback-btn changebtn mr20 fl apply-publish-btn' %>
<% end %>
<%= link_to '保存', 'javascript:void(0)', class: 'white-btn edu-blueline-btn changebtn mr20 fl submit-btn' %>
</div>
<% end %>

Loading…
Cancel
Save