Sha256: 75a3766300b320214259daaf399258dac458442532aa7ff75d742527f1104237

Contents?: true

Size: 452 Bytes

Versions: 24

Compression:

Stored size: 452 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
%>

<span class="preserve-whitespace"><%= field.data %></span>

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
administrate-0.12.0 app/views/fields/text/_show.html.erb
administrate-0.11.0 app/views/fields/text/_show.html.erb
semantic-administrate-0.10.1 app/views/fields/text/_show.html.erb
semantic-administrate-0.10.0 app/views/fields/text/_show.html.erb
administrate-0.10.0 app/views/fields/text/_show.html.erb
semantic-administrate-0.1.1 app/views/fields/text/_show.html.erb
administrate-0.9.0 app/views/fields/text/_show.html.erb
semantic-administrate-0.1.0 app/views/fields/text/_show.html.erb
administrate-0.8.1 app/views/fields/text/_show.html.erb
administrate-0.8.0 app/views/fields/text/_show.html.erb
administrate-0.7.0 app/views/fields/text/_show.html.erb
administrate-0.6.0 app/views/fields/text/_show.html.erb
administrate-0.5.0 app/views/fields/text/_show.html.erb
administrate-0.4.0 app/views/fields/text/_show.html.erb
administrate-0.3.0 app/views/fields/text/_show.html.erb
administrate-0.2.2 app/views/fields/text/_show.html.erb
administrate-0.2.1 app/views/fields/text/_show.html.erb
administrate-0.2.0 app/views/fields/text/_show.html.erb
administrate-0.2.0.rc1 app/views/fields/text/_show.html.erb
administrate-0.1.5 app/views/fields/text/_show.html.erb