Sha256: 888941fd9bc22e8f575535c4af4fbd30974b907b1fb165adf4757428e72e1209
Contents?: true
Size: 475 Bytes
Versions: 29
Compression:
Stored size: 475 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 %> <%= field.datetime %> <% end %>
Version data entries
29 entries across 29 versions & 4 rubygems