Sha256: adb5ef8c725ccf4088f540680188609af7182190f1ff0fb71f2951d3fffda48f
Contents?: true
Size: 522 Bytes
Versions: 8
Compression:
Stored size: 522 Bytes
Contents
- files.each do |url, id, name, type| - if name =~ /\.(gif|jpg|jpeg|tiff|png|bmp)$/i %div.file_upload = link_to url, target: '_blank', title: "Open file: #{name}" do %img{src: url} - unless @submit.is_complete? %span.delete_button{'data-file-id'=>id}  - else %div.file_upload.file = link_to url, target: '_blank', title: "Open file: #{name}" do %span.ext_label= type - unless @submit.is_complete? %span.delete_button{'data-file-id'=>id} 
Version data entries
8 entries across 8 versions & 1 rubygems