Sha256: 87d55a2198d6f15d8c76096dd61c5dcc9f321af0412dfcac2b136bc6c0a89f38

Contents?: true

Size: 359 Bytes

Versions: 4

Compression:

Stored size: 359 Bytes

Contents

<%#
# Refile Index Partial

This partial renders a refile link to the attachment_url
to be displayed on a resource's index page.

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

## Local variables:

- `field`:
  An instance of [Administrate::Field::Refile][1].

%>

<%= link_to field.attribute, attachment_url(field.parent_instance, field.attribute) %>

Version data entries

4 entries across 4 versions & 1 rubygems

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