Sha256: 3b21acf5d828e54f88442c2457c6681ae60c3c40e0f719bb326c7c30fdbc7b60

Contents?: true

Size: 361 Bytes

Versions: 8

Compression:

Stored size: 361 Bytes

Contents

<%#
# Time Show Partial

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

By default, the attribute is rendered as a text tag.

## Local variables:

- `field`:
  An instance of [Administrate::Field::Time][1].
  A wrapper around the time attributes pulled from the model.

%>

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
administrate-1.0.0.beta3 app/views/fields/time/_show.html.erb
administrate-1.0.0.beta2 app/views/fields/time/_show.html.erb
administrate-1.0.0.beta1 app/views/fields/time/_show.html.erb
administrate-0.20.1 app/views/fields/time/_show.html.erb
administrate-0.20.0 app/views/fields/time/_show.html.erb
administrate-0.19.0 app/views/fields/time/_show.html.erb
administrate-0.18.0 app/views/fields/time/_show.html.erb
administrate-0.17.0 app/views/fields/time/_show.html.erb