Sha256: f65117878eca62f640ab60249925e1f1144e204ac1b5c133d4b04ff2b1a8c0b2

Contents?: true

Size: 933 Bytes

Versions: 4

Compression:

Stored size: 933 Bytes

Contents

<div id="overlay_toolbar">
  <% if can? :create, Alchemy::Attachment %>
    <%= render 'alchemy/admin/uploader/button',
      model_class: Alchemy::Attachment,
      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 ? @options.to_json : nil
      ) %>
  <% 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

4 entries across 4 versions & 1 rubygems

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