Sha256: f3c05287892326e72ca216b5f0c2679ddb0549b7a0b6f924ef86b4e847e26f22
Contents?: true
Size: 605 Bytes
Versions: 226
Compression:
Stored size: 605 Bytes
Contents
<figure class="attachment attachment--<%= blob.representable? ? "preview" : "file" %> attachment--<%= blob.filename.extension %>"> <% if blob.representable? %> <%= image_tag blob.representation(resize_to_limit: local_assigns[:in_gallery] ? [ 800, 600 ] : [ 1024, 768 ]) %> <% end %> <figcaption class="attachment__caption"> <% if caption = blob.try(:caption) %> <%= caption %> <% else %> <span class="attachment__name"><%= blob.filename %></span> <span class="attachment__size"><%= number_to_human_size blob.byte_size %></span> <% end %> </figcaption> </figure>
Version data entries
226 entries across 221 versions & 21 rubygems