Sha256: b6c512dc1e8ea8d2f3b334cf1d31b193dc6afb533f79a3cdb562fb26f43a122a

Contents?: true

Size: 442 Bytes

Versions: 17

Compression:

Stored size: 442 Bytes

Contents

<%#
# Date Show Partial

This partial renders a date attribute,
to be displayed on a resource's show page.

By default, the attribute is rendered
as a localized date string.

## Local variables:

- `field`:
  An instance of [Administrate::Field::Date][1].
  A wrapper around the Date value pulled from the database.

[1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Date
%>

<% if field.data %>
  <%= field.date %>
<% end %>

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
administrate-1.0.0.beta2 app/views/fields/date/_show.html.erb
administrate-1.0.0.beta1 app/views/fields/date/_show.html.erb
administrate-0.20.1 app/views/fields/date/_show.html.erb
administrate-0.20.0 app/views/fields/date/_show.html.erb
administrate-0.19.0 app/views/fields/date/_show.html.erb
administrate-0.18.0 app/views/fields/date/_show.html.erb
administrate-0.17.0 app/views/fields/date/_show.html.erb
administrate-0.16.0 app/views/fields/date/_show.html.erb
administrate-0.15.0 app/views/fields/date/_show.html.erb
administrate-0.14.0 app/views/fields/date/_show.html.erb
viniBaxterDesk-22.0.0 app/views/fields/date/_show.html.erb
viniBaxterDesk-0.21.0 app/views/fields/date/_show.html.erb
viniBaxterDesk-0.20.0 app/views/fields/date/_show.html.erb
viniBaxterDesk-0.14.0 app/views/fields/date/_show.html.erb
viniBaxterDesk-0.13.2 app/views/fields/date/_show.html.erb
viniBaxterDesk-0.13.1 app/views/fields/date/_show.html.erb
administrate-0.13.0 app/views/fields/date/_show.html.erb