Sha256: b2c342f141d0508768c9c5d5d79957f7e9b6986804a39fa70aca95e69bf07265

Contents?: true

Size: 724 Bytes

Versions: 3

Compression:

Stored size: 724 Bytes

Contents

<div id="fileupload" class="gal-holder">
  <div class="gal-item">
    <div class="fileupload-button gal-upload-holder">
      <%= link_to I18n.t(:upload, scope: [:ckeditor, :buttons]), 'javascript:void(0)', class: "add" %>
    </div>
  </div>

  <div class="fileupload-list">
    <%= render partial: 'ckeditor/shared/asset', collection: @attachments %>
  </div>

  <% unless @attachments.last_page? %>
    <div class="pagination">
      <%= link_to I18n.t("ckeditor.buttons.next"), ckeditor.attachment_files_path(params.merge(page: @attachments.next_page)), class: "next", rel: "next" %>
    </div>
  <% end -%>

  <script type="text/javascript">
    <%= Ckeditor::Utils.js_fileuploader('attachments') %>
  </script>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ckeditor-4.2.3 app/views/ckeditor/attachment_files/index.html.erb
ckeditor-4.2.2 app/views/ckeditor/attachment_files/index.html.erb
ckeditor-4.2.1 app/views/ckeditor/attachment_files/index.html.erb