Sha256: 17e9fa0b9614e69423d6ed9534fd9113d31a93dbde228cc173f0986c72c4737d
Contents?: true
Size: 481 Bytes
Versions: 14
Compression:
Stored size: 481 Bytes
Contents
<%# # DateTime Index Partial This partial renders a datetime attribute, to be displayed on a resource's index 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.to_date %> <% end %>
Version data entries
14 entries across 14 versions & 1 rubygems