Sha256: d05ae85ddcfda4839a618047b4794c6b79573722cbbc56186e3eb1c9c97c24af
Contents?: true
Size: 833 Bytes
Versions: 12
Compression:
Stored size: 833 Bytes
Contents
<li class="list-group-item attachment" data-attachment-id="<%= attachment.id %>"> <div class="media"> <% if attachment.image? %> <%= image_tag attachment.url(:brightcontent), class: "media-object pull-left" %> <% end %> <div class="media-body"> <h4 class="attachment-file media-heading"><%= attachment.asset_file_name %></h4> <% if attachment.image? %> <%= link_to "Insert", attachment.url(:main), class: "insert insert-image btn btn-primary btn-xs" %> <% else %> <%= link_to "Insert", attachment.url(:original), class: "insert insert-link btn btn-primary btn-xs", data: { name: attachment.asset_file_name } %> <% end %> <%= link_to "Delete", destroy_attachment_path(attachment.id), class: "delete btn btn-danger btn-xs", method: :delete %> </div> </div> </li>
Version data entries
12 entries across 12 versions & 1 rubygems