Sha256: b9e700a5e6accfa1ed5c18e67b3ec9d16adb139a4976cf5efcfe4fe78ef3f5f4

Contents?: true

Size: 924 Bytes

Versions: 2

Compression:

Stored size: 924 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' : '' %>">
  <% if any_tags = Alchemy::Attachment.tag_counts.any? %>
  <div id="library_sidebar">
    <div id="tag_list">
      <%= render 'tag_list' %>
    </div>
  </div>
  <% end %>
  <div id="overlay_file_list" class="<%= any_tags ? 'with_tag_list' : nil %>">
    <%= render 'overlay_file_list' %>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

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