Sha256: 002d2c2ef1e4dfee28a4ccf7cf8557c294f71b524399be2c1899b5af621f1304

Contents?: true

Size: 304 Bytes

Versions: 4

Compression:

Stored size: 304 Bytes

Contents

<%#
# DatePicker Index Partial

This partial renders a date to be displayed
on a resource's index page.

By default, the attribute is rendered as string
with the %b %d, %Y format, e.g. `Oct 28, 2016`

## Local variables:

- `field`:
  An instance of DateTime.
%>

<%= field.data.strftime('%b %d, %Y') %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
administrate-field-date_picker-0.0.5 app/views/fields/date_picker/_index.html.erb
administrate-field-date_picker-0.0.4 app/views/fields/date_picker/_index.html.erb
administrate-field-date_picker-0.0.3 app/views/fields/date_picker/_index.html.erb
administrate-field-date_picker-0.0.2 app/views/fields/date_picker/_index.html.erb