Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
annotator-administrate / app / views / fields / url / _index.html.erb
Size: Mime:
<%#
# Url Index Partial

This partial renders a URL address,
to be displayed on a resource's index page.

By default, the value is rendered as an `a` element.

## Local variables:

- `field`:
  An instance of [Administrate::Field::Url][1].
  A wrapper around the email pulled from the database.

[1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Url
%>

<%= content_tag :a, href: field.data, **field.html_options do %>
  <%= field.data %>
<% end %>