Sha256: 630c27b8b01ba6694b0bd645c7290eaa8a45d1851777937ab864c215db69cbed

Contents?: true

Size: 845 Bytes

Versions: 428

Compression:

Stored size: 845 Bytes

Contents

<%= content_tag(:div,
    aria: object.aria,
    class: object.classname,
    data: object.data,
    id: object.id) 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.details}",
      dark: object.dark,
      color: "light"
    }) %>
    <% if content %>
      <%= content.presence %>
    <% else %>
      <%= pb_rails("body", props: {
        text: "#{object.subtitle}",
        dark: object.dark,
        color: "light"
      }) %>
    <% end %>
  <% end %>
<% end %>

Version data entries

428 entries across 428 versions & 1 rubygems

Version Path
playbook_ui-11.13.0.pre.alpha.fileupload1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.12.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.11.0.pre.alpha.paginate2 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.11.0.pre.alpha.dialog2 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.11.0.pre.alpha.paginate1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.11.0.pre.alpha.renderer1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.11.0.pre.alpha.dialog1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.11.0 app/pb_kits/playbook/pb_user/user.html.erb