Sha256: 07f91633565894e4aa6839e3dee3d90c2a683f18dc08069d4daabb3f427d2d46
Contents?: true
Size: 868 Bytes
Versions: 4
Compression:
Stored size: 868 Bytes
Contents
<%= content_tag(:div, :id => dom_id(asset), :class => "gal-item", :"data-url" => asset.url_content) do %> <%= link_to image_tag("/javascripts/ckeditor/filebrowser/images/gal_del.png", :title => I18n.t('ckeditor.buttons.delete')), polymorphic_path(asset, :format => :json), :remote => true, :method => :delete, :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) %></div> </div> </div> </div> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems