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 / number / _show.html.erb
Size: Mime:
<%#
# Number Show Partial

This partial renders a number attribute,
to be displayed on a resource's show page.

By default, the attribute is rendered
using the formatting options given in the resource's dashboard.

## Local variables:

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

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

<%= field.to_s %>