autor <%= attr.author.name %> <%= (attr.likes && attr.likes.length>0) ? '| Polubienia: '+attr.likes.length :'' %> <%= (attr.comments && attr.comments.length>0) ? '| Comments: '+attr.comments.length :'' %> <%= (attr.watches && attr.watches.length>0) ? '| Watches: '+attr.watches.length :'' %>