Sha256: 72a975807ee3df21071e82fd86db13df5af3e0191070dbf5768cf970fe3b216c

Contents?: true

Size: 423 Bytes

Versions: 6

Compression:

Stored size: 423 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 %>
  <div class="bg-gray-50 p-3 rounded-md shadow-sm">
    <%= field.data %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
administrate_tailwind_theme-0.0.6 app/views/fields/time/_show.html.erb
administrate_tailwind_theme-0.0.5 app/views/fields/time/_show.html.erb
administrate_tailwind_theme-0.0.4 app/views/fields/time/_show.html.erb
administrate_tailwind_theme-0.0.3 app/views/fields/time/_show.html.erb
administrate_tailwind_theme-0.0.2 app/views/fields/time/_show.html.erb
administrate_tailwind_theme-0.0.1 app/views/fields/time/_show.html.erb