Sha256: 2ea91d856b294bb946234dd2c9f8c4ab830a0ded6368ccc0477f42a534e4a7cc
Contents?: true
Size: 300 Bytes
Versions: 23
Compression:
Stored size: 300 Bytes
Contents
<%= form.input field %> <% if item.send(field).present? && item.send(field).content_type =~ /^image\// %> <div class="form-group file-preview"> <div class="col-sm-offset-2 col-sm-10"> <%= image_tag item.send(field).url(item.send(field).styles.keys.first) %> </div> </div> <% end %>
Version data entries
23 entries across 23 versions & 1 rubygems