Sha256: 2d2712049a9a2aaa0a54d01437ec19e9afb39398d954fe3bc13f953b9c97d418
Contents?: true
Size: 882 Bytes
Versions: 15
Compression:
Stored size: 882 Bytes
Contents
<%= content_tag(:div, :id => dom_id(asset), :class => "gal-item", :"data-url" => asset.url_content) do %> <%= link_to image_tag("/assets/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) if asset.size %></div> </div> </div> </div> <% end %>
Version data entries
15 entries across 15 versions & 2 rubygems