Sha256: fdd1b7c82dcaf467965ef487fe9f5afc7248b4fb56f64f05d7a2be0e57bc1aae
Contents?: true
Size: 299 Bytes
Versions: 2
Compression:
Stored size: 299 Bytes
Contents
<%# name: headmin/table/body/association accepts block: no parameters: object: (ActiveRecord::Base) Model resource for which an association needs to be called attribute: (string) Name of the association %> <td> <%= t('.items', count: object.send(attribute).count) %> </td>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
headmin-0.1.2 | app/views/headmin/table/body/_association.html.erb |
headmin-0.1.1 | app/views/headmin/table/body/_association.html.erb |