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-9.3.0.alpha.inline3 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-9.3.0.pre.alpha.password.strength.2 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-9.3.0.alpha.inline2 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-9.3.0.alpha.inline1 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-9.3.0.pre.alpha.password.strength.1 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-9.3.0 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-9.2.2.pre.alpha.margin app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-9.2.2 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-9.2.1 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-9.2.0 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-9.1.0 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-9.0.0 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-8.3.0.alpha.select.pre.margin app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-8.3.0 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-8.2.1.pre.alpha5 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-8.2.1.pre.alpha4 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-8.2.1.alpha.iconacc app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-8.2.1.pre.alpha3 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-8.2.1.pre.alpha2 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
playbook_ui-8.3.0.deps2 app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb