Sha256: 6a91063a43f89c5f4007d76a5cd3a2bef98e444d644de17e5a404e0a1abeae42

Contents?: true

Size: 469 Bytes

Versions: 6

Compression:

Stored size: 469 Bytes

Contents

<%#
# Text Show Partial

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

By default, the attribute is rendered as text with whitespace preserved.

## Local variables:

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

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

<div class="bg-gray-50 p-3 rounded-md shadow-sm">
  <%= field.data %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

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