Sha256: c563133867e4bde18f6d33d3b6cbd79e3d9a9775a098dd8a6b2252653a7f53a1
Contents?: true
Size: 473 Bytes
Versions: 28
Compression:
Stored size: 473 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 %> <%= field.datetime %> <% end %>
Version data entries
28 entries across 28 versions & 3 rubygems