Sha256: 1593da1fded32a85f84d2de2b56457d1f9b4221a83c06715c3b2125570e01482

Contents?: true

Size: 835 Bytes

Versions: 14

Compression:

Stored size: 835 Bytes

Contents

<%= content_tag(:div, id: dom_id(asset), class: "gal-item", data: { url: image_path(asset.url_content) }) do %>
  <%= link_to '', polymorphic_path(asset, format: :json),
          remote: true,
          method: :delete,
          title: I18n.t('ckeditor.buttons.delete'),
          data: { confirm: t('ckeditor.confirm_delete') },
          class: "fileupload-cancel gal-del" %>

  <div class="fileupload-file gal-inner-holder">
    <div class="img"><%= image_tag(asset.url_thumb, title: asset.filename) %></div>
    <div class="img-data">
      <div class="img-name"><%= asset.filename %></div>
      <div class="time-size">
        <div class="time"><%= asset.format_created_at %></div>
        <div class="fileupload-size size"><%= number_to_human_size(asset.size) if asset.size %></div>
      </div>
    </div>
  </div>
<% end %>

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
ckeditor-5.1.3 app/views/ckeditor/shared/_asset.html.erb
ckeditor-5.1.2 app/views/ckeditor/shared/_asset.html.erb
ckeditor-5.1.1 app/views/ckeditor/shared/_asset.html.erb
glebtv-ckeditor-4.14.1 app/views/ckeditor/shared/_asset.html.erb
ckeditor-5.1.0 app/views/ckeditor/shared/_asset.html.erb
glebtv-ckeditor-4.13.1 app/views/ckeditor/shared/_asset.html.erb
glebtv-ckeditor-4.13.0 app/views/ckeditor/shared/_asset.html.erb
ckeditor-5.0.0 app/views/ckeditor/shared/_asset.html.erb
ckeditor-4.3.0 app/views/ckeditor/shared/_asset.html.erb
glebtv-ckeditor-4.7.3 app/views/ckeditor/shared/_asset.html.erb
ckeditor-4.2.4 app/views/ckeditor/shared/_asset.html.erb
ckeditor-4.2.3 app/views/ckeditor/shared/_asset.html.erb
ckeditor-4.2.2 app/views/ckeditor/shared/_asset.html.erb
ckeditor-4.2.1 app/views/ckeditor/shared/_asset.html.erb