% 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',
additional_params: [:file_type, :tagged_with] %>
<% end %>
<%= resources_header %>
<%= render 'files_list' %>