Sha256: c76948e7fa4f65a3ff2472517a768195f89d95cf8f94127e143009a811800232

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

<%#
# Telephone Index Partial

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

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

## Local variables:

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

%>

<%= link_to field.to_s, "tel:#{field.to_s}" %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
administrate-field-telephone-0.0.1 app/views/fields/telephone/_index.html.erb