Sha256: 5ddaeb037d506894567b74946d258cd6709c6d15a28bb729ea2fb00b6416a8ec

Contents?: true

Size: 728 Bytes

Versions: 3

Compression:

Stored size: 728 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" data-endless="true">
    <%= render partial: 'ckeditor/shared/asset', collection: @pictures.scoped %>
  </div>

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

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