Sha256: bc9e572dfa2fb66270e808d34ab286aa577371fe0e4ec09a04d2c41dc2dd4da0
Contents?: true
Size: 462 Bytes
Versions: 26
Compression:
Stored size: 462 Bytes
Contents
<div class='file' id='<%= dom_id(file) %>'> <% file_name = file.file_file_name file_ext = file.file_file_name.split('.').last if (file_name.size - file_ext.size) > 30 file_name = file_name.truncate(30) + file_ext end %> <%= link_to file_name, file.file.url, :target => '_blank', :class => 'filename' %> <%= link_to span_tag('x'), cms_admin_upload_path(file), :method => :delete, :remote => true, :class => 'delete' %> </div>
Version data entries
26 entries across 26 versions & 1 rubygems