Repository URL to install this package:
|
Version:
0.19.0 ▾
|
<%#
# 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 %>