Sha256: 27a402c09fba0b33ee3a522504be63f93fbbaa7a259f8cbd26455885fd19c399

Contents?: true

Size: 740 Bytes

Versions: 2

Compression:

Stored size: 740 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

2 entries across 2 versions & 2 rubygems

Version Path
danabr75-ckeditor-4.1.6 app/views/ckeditor/attachment_files/index.html.erb
ckeditor-4.2.0 app/views/ckeditor/attachment_files/index.html.erb