Sha256: 690f1f9dd0cd10f8808e1242e2958d8603ee112a96be297f8828897b12770b10
Contents?: true
Size: 403 Bytes
Versions: 2
Compression:
Stored size: 403 Bytes
Contents
<%# # Enum Show Partial This partial renders an enum attribute, to be displayed on a resource's show 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. %> <%= render partial: '/fields/jsontable/json_table_field', locals: { data: field.data } %>
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
administrate-field-jsontable-0.1.0 | app/views/fields/jsontable/_index.html.erb |
administrate-field-jsontable-0.1.0 | app/views/fields/jsontable/_show.html.erb |