Sha256: f0404c0b61d78efaf28b13e25edcbb01df0cc4113f5eb1b08108d2928c6c08af

Contents?: true

Size: 752 Bytes

Versions: 2

Compression:

Stored size: 752 Bytes

Contents

<% any_tags = Alchemy::Attachment.tag_counts.any? %>
<% 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>
<% end %>
<div id="archive_all" class="<%= any_tags ? 'with_tag_filter ' : nil %>resources-table-wrapper">
  <%= resources_header %>
  <%= render partial: 'files_list' %>
  <% if any_tags %>
  <div id="library_sidebar">
    <div id="tag_list" class="<%= params[:tagged_with].present? ? 'filtered' : '' %>">
      <%= render partial: 'tag_list' %>
    </div>
  </div>
  <% end %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alchemy_cms-3.3.0.rc2 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-3.3.0.rc1 app/views/alchemy/admin/attachments/index.html.erb