Sha256: e5a3ecaf426d88899770a7f584439983f123fa3ceb987782264a7b79497f49ea

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

<%#
# Telephone Show Partial

This partial renders an telephone attribute,
to be displayed on a resource's show 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 telephone 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/_show.html.erb