Sha256: 441fa8379693b5e14ce5506d775869f57c50b3d60749e89bf7975a8ee15ddfaa

Contents?: true

Size: 523 Bytes

Versions: 191

Compression:

Stored size: 523 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">
        <%= "+#{object.users.count - object.display_count}" %>
      </div>
    <% end %>
<% end %>

Version data entries

191 entries across 191 versions & 1 rubygems

Version Path
playbook_ui-8.0.0.pre.alpha4 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-8.0.0.pre.alpha1 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-7.16.0.pre.alpha5 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-7.16.0.pre.alpha4 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-7.16.0.pre.alpha3 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-7.16.0.pre.alpha2 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-7.16.0.pre.alpha1 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-7.14.0.pre.alpha1 app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb
playbook_ui-7.16.0 app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb
playbook_ui-7.15.1 app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb
playbook_ui-7.15.0 app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb
playbook_ui-7.14.0 app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb
playbook_ui-7.13.0.pre.alpha1 app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb
playbook_ui-7.13.0 app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb
playbook_ui-7.12.1 app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb
playbook_ui-7.12.0 app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb
playbook_ui-7.11.1 app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb
playbook_ui-7.11.0 app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb
playbook_ui-7.10.0 app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb