Sha256: fdf1191d9a7c33d8dc8f526657802f5bd145a88442f10faa5d70f2d90aa27912

Contents?: true

Size: 577 Bytes

Versions: 4

Compression:

Stored size: 577 Bytes

Contents

<%#
# Hyperlink Index Partial

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

By default, the attribute is rendered as a hyperlink to the data with the truncated string as label.

## Local variables:

- `field`:
  An instance of [Administrate::Field::Hyperlink][1].
  A wrapper around the [Administrate::Field::String][2] field.

[1]: http://www.rubydoc.info/gems/administrate-field-hyperlink/Administrate/Field/Hyperlink
[2]: http://www.rubydoc.info/gems/administrate/Administrate/Field/String
%>

<%= field.to_s %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
administrate-field-code-0.2.2 app/views/fields/code/_index.html.erb
administrate-field-code-0.2.1 app/views/fields/code/_index.html.erb
administrate-field-code-0.2.0 app/views/fields/code/_index.html.erb
administrate-field-code-0.1.0 app/views/fields/code/_index.html.erb