Sha256: f4a30e3402de72b6269d88b0a050b80f68cbaf2d06062b31d34a33fba1518619

Contents?: true

Size: 279 Bytes

Versions: 5

Compression:

Stored size: 279 Bytes

Contents

<%= content_tag(:div,
    id: object.id,
    data: object.data(initials: object.initials),
    class: object.classname("avatar_#{object.size}")) do %>
  <% if object.url.present? %>
    <%= pb_rails("image", props: { url: object.url, alt: object.name }) %>
  <% end %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.7.2 app/pb_kits/playbook/pb_avatar/_avatar.html.erb
playbook_ui-2.7.1 app/pb_kits/playbook/pb_avatar/_avatar.html.erb
playbook_ui-2.7.0 app/pb_kits/playbook/pb_avatar/_avatar.html.erb
playbook_ui-2.6.0 app/pb_kits/playbook/pb_avatar/_avatar.html.erb
playbook_ui-2.5.0 app/pb_kits/playbook/pb_avatar/_avatar.html.erb