Sha256: 0c1ee08d168de505db7b541091bd331d21e357782b884f6a642f96dda0852a43
Contents?: true
Size: 797 Bytes
Versions: 24
Compression:
Stored size: 797 Bytes
Contents
<%= content_tag(:div, aria: object.aria, class: object.classname, data: object.data, id: object.id, **combined_html_options) 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
24 entries across 24 versions & 1 rubygems