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

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

By default, the attribute is rendered
as a string representation of the boolean value.

## Local variables:

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

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

<%= field.to_s %>