Sha256: 4238b5a97530bbaad6affceb2677841989e34833587363f425817919ba055bd7

Contents?: true

Size: 404 Bytes

Versions: 47

Compression:

Stored size: 404 Bytes

Contents

<%#
# Text Index Partial

This partial renders a text attribute
to be displayed on a resource's index page.

By default, the attribute is rendered as a truncated string.

## 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
%>

<%= field.truncate %>

Version data entries

47 entries across 47 versions & 4 rubygems

Version Path
administrate-0.2.0 app/views/fields/text/_index.html.erb
administrate-0.2.0.rc1 app/views/fields/text/_index.html.erb
administrate-0.1.5 app/views/fields/text/_index.html.erb
administrate-0.1.4 app/views/fields/text/_index.html.erb
administrate-0.1.3 app/views/fields/text/_index.html.erb
administrate-0.1.2 app/views/fields/text/_index.html.erb
administrate-0.1.1 app/views/fields/text/_index.html.erb