app/views/refinery/admin/resources/_actions.html.erb in refinerycms-resources-2.1.5 vs app/views/refinery/admin/resources/_actions.html.erb in refinerycms-resources-3.0.0
- old
+ new
@@ -1,8 +1,6 @@
<ul>
+ <li><%= render '/refinery/admin/search', :url => refinery.admin_resources_path -%></li>
<li>
- <%= render '/refinery/admin/search', :url => refinery.admin_resources_path %>
- </li>
- <li>
- <%= link_to t('.upload_new'), refinery.new_admin_resource_path(:dialog => true), :class => "add_icon" %>
+ <%= action_label(:upload, refinery.new_admin_resource_path(:dialog => true), t('.upload_new'))%>
</li>
</ul>