Repository URL to install this package:
|
Version:
0.19.0 ▾
|
<%#
# 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>