Sha256: fdada10257c2fc5af17f1f3f38584d8cef3174b6b8a8bbf80d588033b51c18db
Contents?: true
Size: 437 Bytes
Versions: 1
Compression:
Stored size: 437 Bytes
Contents
<%# # Image Index Partial This partial renders an image attribute to be displayed on a resource's index page. By default, the attribute is rendered as an image tag. ## Local variables: - `field`: An instance of [Administrate::Field::Image][1]. A wrapper around the image url pulled from the database. [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Image %> <%= image_tag field.data if field.data.present? %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
administrate-field-image-1.2.0 | app/views/fields/image/_index.html.erb |