Sha256: 76908f6c87229e9fcbd69d431b3a19de3a2f1a27eebe77432c72bb80005a5a84
Contents?: true
Size: 474 Bytes
Versions: 9
Compression:
Stored size: 474 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_site_upload_path(@site, file), :method => :delete, :remote => true, :class => 'delete' %> </div>
Version data entries
9 entries across 9 versions & 1 rubygems