Sha256: 2b7d3980b3a371c70cef6e84e02dc378835620451bd74e33587432836a4350df
Contents?: true
Size: 619 Bytes
Versions: 19
Compression:
Stored size: 619 Bytes
Contents
<figure class="attachment attachment--<%= blob.representable? ? "preview" : "file" %> attachment--<%= blob.filename.extension %>"> <% if blob.representable? %> <%= image_tag main_app.url_for(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
19 entries across 19 versions & 1 rubygems