Sha256: 4e5ef00dc76343e60913593c67295a97273f230f010c0ff0d9fd943defe9fd19
Contents?: true
Size: 681 Bytes
Versions: 201
Compression:
Stored size: 681 Bytes
Contents
<%= pb_content_tag do %> <%= pb_rails("avatar", props: object.users[0].merge({size: "xs", classname: "pb_multiple_users_stacked_item", dark: object.dark}) ) %> <% unless object.only_one %> <% if object.more_than_two %> <%= pb_rails("badge", props: { dark: object.dark, text: "+#{object.users.count - object.display_count}", variant: "primary", rounded: true, classname: "pb_multiple_users_stacked_item second_item" }) %> <% else %> <%= pb_rails("avatar", props: object.users[1].merge({size: "xs", classname: "pb_multiple_users_stacked_item second_item", dark: object.dark}) ) %> <% end %> <% end %> <% end %>
Version data entries
201 entries across 201 versions & 1 rubygems