Sha256: abc827338060db80de7f6c4f9398d0fe4c1b490032a08505a39b1578983c985d

Contents?: true

Size: 460 Bytes

Versions: 18

Compression:

Stored size: 460 Bytes

Contents

<%#
# String Show Partial

This partial renders a string 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::String][1].
  A wrapper around the String pulled from the database.

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

<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/string/_show.html.erb
administrate-1.0.0.beta2 app/views/fields/string/_show.html.erb
administrate-1.0.0.beta1 app/views/fields/string/_show.html.erb
administrate-0.20.1 app/views/fields/string/_show.html.erb
administrate-0.20.0 app/views/fields/string/_show.html.erb
administrate-0.19.0 app/views/fields/string/_show.html.erb
administrate-0.18.0 app/views/fields/string/_show.html.erb
administrate-0.17.0 app/views/fields/string/_show.html.erb
administrate-0.16.0 app/views/fields/string/_show.html.erb
administrate-0.15.0 app/views/fields/string/_show.html.erb
administrate-0.14.0 app/views/fields/string/_show.html.erb
viniBaxterDesk-22.0.0 app/views/fields/string/_show.html.erb
viniBaxterDesk-0.21.0 app/views/fields/string/_show.html.erb
viniBaxterDesk-0.20.0 app/views/fields/string/_show.html.erb
viniBaxterDesk-0.14.0 app/views/fields/string/_show.html.erb
viniBaxterDesk-0.13.2 app/views/fields/string/_show.html.erb
viniBaxterDesk-0.13.1 app/views/fields/string/_show.html.erb
administrate-0.13.0 app/views/fields/string/_show.html.erb