<% content_for(:toolbar) do %>
<% if can? :create, Alchemy::Attachment %> <%= render 'alchemy/admin/uploader/button', redirect_url: alchemy.admin_attachments_path, object: Alchemy::Attachment.new, file_attribute: 'file' %> <% end %>
<%= render 'alchemy/admin/partials/search_form' %> <% end %>
<%= resources_header %> <%= render 'files_list' %>
<%= render 'filter_bar' %> <% if Alchemy::Attachment.tag_counts.any? %>
<%= render 'tag_list' %>
<% end %>