Sha256: 017a84e82dd0ab911e2fd3bab142556917649eaf32daa7b6ec4a97f0a26374eb

Contents?: true

Size: 782 Bytes

Versions: 4

Compression:

Stored size: 782 Bytes

Contents

<% content_for(:toolbar) do %>
  <div class="toolbar_buttons">
    <% if can? :create, Alchemy::Attachment %>
      <%= render 'alchemy/admin/uploader/button',
        redirect_url: alchemy.admin_attachments_path,
        model_class: Alchemy::Attachment,
        file_attribute: 'file' %>
    <% end %>
  </div>
  <%= render 'alchemy/admin/partials/search_form' %>
<% end %>

<div id="archive_all" class="with_tag_filter resources-table-wrapper">
  <%= resources_header %>
  <%= render 'files_list' %>

  <div id="library_sidebar">
    <%= render 'filter_bar' %>

    <% if Alchemy::Attachment.tag_counts.any? %>
      <div class="<%= params[:tagged_with].present? ? 'tag-list filtered' : 'tag-list' %>">
        <%= render 'tag_list' %>
      </div>
    <% end %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alchemy_cms-3.4.2 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-3.4.1 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-3.4.0 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-3.4.0.rc1 app/views/alchemy/admin/attachments/index.html.erb