Sha256: edb11f5823e8d6f5e4864f7a33b1ef366bf384c0fecf58d956dadde0e07b09db
Contents?: true
Size: 493 Bytes
Versions: 6
Compression:
Stored size: 493 Bytes
Contents
<%# # DateTime Show Partial This partial renders a datetime attribute, to be displayed on a resource's show page. By default, the attribute is rendered as a localized date & time string. ## Local variables: - `field`: An instance of [Administrate::Field::DateTime][1]. A wrapper around the DateTime value pulled from the database. [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/DateTime %> <% if field.data %> <%= l(field.data, default: field.data) %> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems