Sha256: 723097afdf179d473a0ba0b79d08ddef7144743938d1c947f31a287c6ea6f5ff

Contents?: true

Size: 362 Bytes

Versions: 13

Compression:

Stored size: 362 Bytes

Contents

<%#
# Time Index Partial

This partial renders an time attribute
to be displayed on a resource's index 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

13 entries across 13 versions & 2 rubygems

Version Path
administrate_tailwind_theme-0.0.6 app/views/fields/time/_index.html.erb
administrate-1.0.0.beta2 app/views/fields/time/_index.html.erb
administrate-1.0.0.beta1 app/views/fields/time/_index.html.erb
administrate_tailwind_theme-0.0.5 app/views/fields/time/_index.html.erb
administrate_tailwind_theme-0.0.4 app/views/fields/time/_index.html.erb
administrate_tailwind_theme-0.0.3 app/views/fields/time/_index.html.erb
administrate_tailwind_theme-0.0.2 app/views/fields/time/_index.html.erb
administrate_tailwind_theme-0.0.1 app/views/fields/time/_index.html.erb
administrate-0.20.1 app/views/fields/time/_index.html.erb
administrate-0.20.0 app/views/fields/time/_index.html.erb
administrate-0.19.0 app/views/fields/time/_index.html.erb
administrate-0.18.0 app/views/fields/time/_index.html.erb
administrate-0.17.0 app/views/fields/time/_index.html.erb