Sha256: 761e716c5ffa83be8c18ef46ff7d19d4acf341307e244aaeed39d9b9ed872664

Contents?: true

Size: 330 Bytes

Versions: 5

Compression:

Stored size: 330 Bytes

Contents

<%#
# Enum Index Partial

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

By default, the attribute is rendered as a text tag.

## Local variables:

- `field`:
  An instance of [Administrate::Field::Enum][1].
  A wrapper around the enum attributes pulled from the model.

%>

<%= field.to_s %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
administrate-field-enum-0.0.6 app/views/fields/enum/_index.html.erb
administrate-field-enum-0.0.4 app/views/fields/enum/_index.html.erb
administrate-field-enum-0.0.3 app/views/fields/enum/_index.html.erb
administrate-field-enum-0.0.2 app/views/fields/enum/_index.html.erb
administrate-field-enum-0.0.1 app/views/fields/enum/_index.html.erb