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

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

By default, the attribute is rendered as a text tag.

## Local variables:

- `field`:
  An instance of [Administrate::Field::Time][1].
  A wrapper around the time attributes pulled from the model.

%>

<% if field.data %>
  <%= field.time %>
<% end %>