Sha256: eaf4dbfcd4d9fcaca8155e319b240c1278aabda4900cb282aa3f5070db0f288d

Contents?: true

Size: 918 Bytes

Versions: 9

Compression:

Stored size: 918 Bytes

Contents

<div id="overlay_toolbar">
  <% if can? :create, Alchemy::Attachment %>
    <%= render 'alchemy/admin/uploader/button',
      object: Alchemy::Attachment.new,
      dropzone: '#assign_file_list',
      file_attribute: 'file',
      in_dialog: true,
      redirect_url: admin_attachments_path(
        element_id: @element.try(:id),
        content_id: @content.try(:id),
        options: options_from_params
      ) %>
  <% end %>
  <%= render 'alchemy/admin/partials/remote_search_form' %>
</div>

<div id="assign_file_list" class="with_padding<%= params[:tagged_with].present? ? ' filtered' : '' %>">
  <div id="library_sidebar">
    <%= render 'filter_bar' %>

    <% if Alchemy::Attachment.tag_counts.any? %>
      <div class="tag-list">
        <%= render 'tag_list' %>
      </div>
    <% end %>
  </div>
  <div id="overlay_file_list" class="with_tag_list">
    <%= render 'overlay_file_list' %>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/attachments/_archive_overlay.html.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/attachments/_archive_overlay.html.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/attachments/_archive_overlay.html.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/attachments/_archive_overlay.html.erb
alchemy_cms-4.0.2 app/views/alchemy/admin/attachments/_archive_overlay.html.erb
alchemy_cms-4.0.1 app/views/alchemy/admin/attachments/_archive_overlay.html.erb
alchemy_cms-4.0.0 app/views/alchemy/admin/attachments/_archive_overlay.html.erb
alchemy_cms-4.0.0.rc2 app/views/alchemy/admin/attachments/_archive_overlay.html.erb
alchemy_cms-4.0.0.rc1 app/views/alchemy/admin/attachments/_archive_overlay.html.erb