Sha256: a5986bd43c2dda979f5aada867ccea4b90e466770ac113f9f05033a1bbf9d464

Contents?: true

Size: 526 Bytes

Versions: 1

Compression:

Stored size: 526 Bytes

Contents

<%= content_tag(:div,
    aria: object.aria,
    class: object.classname,
    data: object.data,
    id: object.id) do %>
    <% object.users.take(object.display_count).each do |user| %>
      <%= pb_rails("avatar", props: user.merge({size: "xs", classname: "pb_multiple_users_item", dark: object.dark}) ) %>
    <% end %>

    <% if object.more_than_four %>
      <div class="pb_multiple_users_item multiple_users_badge_xs">
        <%= "+#{object.users.count - object.display_count}" %>
      </div>
    <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
playbook_ui-10.0.1 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb