Sha256: 991e0339a49f17fffaae66e5a0ef1d675bc420c1c5fd99adf32d8c2b8dc2d2f4
Contents?: true
Size: 746 Bytes
Versions: 12
Compression:
Stored size: 746 Bytes
Contents
<% blob = local_assigns.has_key?(:blob) ? local_assigns[:blob] : nil %> <% if blob.present? %> <div data-media-modal-target="item" title="<%= "#{blob.filename} (#{l(blob.created_at, format: :long)})" %>"> <!-- Input --> <input id="media-item-<%= blob.id %>" type="checkbox" value="<%= blob.id %>" data-action="change->media-modal#inputChange" data-media-modal-target="idCheckbox" hidden> <!-- Label --> <label for="media-item-<%= blob.id %>" class="d-flex"> <%= render "formstrap/shared/thumbnail", file: blob %> </label> </div> <% else %> <div> <label class="d-flex"> <%= render "formstrap/shared/thumbnail", file: nil %> </label> </div> <% end %>
Version data entries
12 entries across 12 versions & 1 rubygems