Sha256: 00f04fe6346495541dff84585cbe9ed083721827f4b9a5a02a840bdb46e25025
Contents?: true
Size: 534 Bytes
Versions: 16
Compression:
Stored size: 534 Bytes
Contents
<%= content_tag(:div, id: object.id, data: object.data.merge(initials: object.initials), class: object.classname, aria: object.aria, **combined_html_options) do %> <%= content_tag(:div, data: { initials: object.initials }, class: "avatar_wrapper") do %> <%= pb_rails("image", props: { alt: object.alt_text, url: object.image_url, on_error: object.handle_img_error }) if object.image_url.present? %> <% end %> <%= pb_rails("online_status", props: object.online_status_props) if object.status %> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems