Sha256: b610202070097f9c189bb43c345a41925b3fd926b3a17ad8e7bbb10651fa8654
Contents?: true
Size: 632 Bytes
Versions: 3
Compression:
Stored size: 632 Bytes
Contents
<%= content_tag(:div, id: object.id, data: object.data, class: object.classname) do %> <% if object.avatar_url.present? || object.avatar %> <%= pb_rails("avatar", props: { name: object.name, size: object.avatar_size, image_url: object.avatar_url }) %> <% end %> <%= content_tag(:div, class: "content_wrapper") do %> <%= pb_rails("title", props: { text: object.name, size: object.title_size, dark: object.dark }) %> <%= pb_rails("body", props: { text: object.name, dark: object.dark, text: object.title, color: "light" }) %> <% end %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-3.1.0 | app/pb_kits/playbook/pb_user/_user.html.erb |
playbook_ui-3.0.1 | app/pb_kits/playbook/pb_user/_user.html.erb |
playbook_ui-3.0.0 | app/pb_kits/playbook/pb_user/_user.html.erb |