Sha256: b89e719fff4fee213bbde8aa9d52cc004ae67c53bc1b663c3da499db62d05720

Contents?: true

Size: 413 Bytes

Versions: 2

Compression:

Stored size: 413 Bytes

Contents

<%#
# RichText Show Partial

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

By default, the attribute is rendered as HTML.

## Local variables:

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

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

<%= field.data %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
administrate-1.0.0.beta3 app/views/fields/rich_text/_show.html.erb
administrate-1.0.0.beta2 app/views/fields/rich_text/_show.html.erb