Sha256: 533f0d0fa46e9565648fab9da29863353545644ef6287af91a71465f920b01ed

Contents?: true

Size: 450 Bytes

Versions: 18

Compression:

Stored size: 450 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="preserve-whitespace"><%= field.data %></div>

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
administrate-1.0.0.beta3 app/views/fields/text/_show.html.erb
administrate-1.0.0.beta2 app/views/fields/text/_show.html.erb
administrate-1.0.0.beta1 app/views/fields/text/_show.html.erb
administrate-0.20.1 app/views/fields/text/_show.html.erb
administrate-0.20.0 app/views/fields/text/_show.html.erb
administrate-0.19.0 app/views/fields/text/_show.html.erb
administrate-0.18.0 app/views/fields/text/_show.html.erb
administrate-0.17.0 app/views/fields/text/_show.html.erb
administrate-0.16.0 app/views/fields/text/_show.html.erb
administrate-0.15.0 app/views/fields/text/_show.html.erb
administrate-0.14.0 app/views/fields/text/_show.html.erb
viniBaxterDesk-22.0.0 app/views/fields/text/_show.html.erb
viniBaxterDesk-0.21.0 app/views/fields/text/_show.html.erb
viniBaxterDesk-0.20.0 app/views/fields/text/_show.html.erb
viniBaxterDesk-0.14.0 app/views/fields/text/_show.html.erb
viniBaxterDesk-0.13.2 app/views/fields/text/_show.html.erb
viniBaxterDesk-0.13.1 app/views/fields/text/_show.html.erb
administrate-0.13.0 app/views/fields/text/_show.html.erb