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-12.8.0.pre.alpha.PLAY625phonenumberdark300 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY649mapkitstyles299 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep298 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep297 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease296 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease295 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease294 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.8.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease293 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease292 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease291 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.7.1.pre.alpha.alpharubyrelease281 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.7.1.pre.alpha.menu2 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.7.1.pre.alpha.menu1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.7.1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.7.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.6.0.pre.alpha.sectionseparator1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.6.0.pre.alpha.menuyml1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.6.0.pre.alpha.collapsible1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.6.0.pre.alpha.cssphone1 app/pb_kits/playbook/pb_user/user.html.erb