Sha256: ad2fb6795f3a0616c3f6f89abf386ef6e9d400a7123d4d3b1d9e9aaea1addca8
Contents?: true
Size: 728 Bytes
Versions: 3
Compression:
Stored size: 728 Bytes
Contents
%tr{ id: "attachment-#{attachment.id}" } %td = link_to image_tag( attachment.thumb_url ), attachment.file.url %td %span.attachment-description %p.attachment.title -# default_title = attachment.file.filetitle.humanize = link_to best_in_place_if(can?(:update, attachment), attachment, :title, activator: 'only_manual'), attachment.file.url - if can? :destroy, attachment = remove_button attachment %p.attachment.filename = link_to attachment.filename, attachment.file.url %p.attachment.description = best_in_place_if can?(:update, attachment), attachment, :description %p.attachment.filesize = attachment.file_size_human
Version data entries
3 entries across 3 versions & 1 rubygems