Sha256: 1219348faf50b142d4ac229696390009e425a98556da936b4ad706fed76f7044
Contents?: true
Size: 553 Bytes
Versions: 3
Compression:
Stored size: 553 Bytes
Contents
<%# # BelongsToSearch Index Partial This partial renders a belongs_to relationship, to be displayed on a resource's index page. By default, the relationship is rendered as a link to the associated object. ## Local variables: - `field`: An instance of Administrate::Field::BelongsToSearch. A wrapper around the belongs_to relationship pulled from the database. %> <%= pluralize(field.data.size, t("activerecord.models.#{field.attribute.to_s.singularize}", default: field.attribute.to_s.humanize.downcase.singularize, count: field.data.size)) %>
Version data entries
3 entries across 3 versions & 1 rubygems