% 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' %>