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.19.0.pre.alpha.map1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.19.0.pre.alpha.pagpassthrough1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.19.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.18.0.pre.alpha.pagutility1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.19.0.pre.typeahead1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.18.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.17.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.15.0.pre.alpha.dependencies1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.16.0.pre.alpha.paginationrails1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.16.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.16.0.pre.alpha.reactupgrade1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.15.0.pre.alpha.table1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.16.0.pre.alpha.pagination.rails1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.15.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.14.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.13.0.pre.alpha.fontawesome1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.13.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.12.1.pre.alpha.charts1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.12.1.pre.alpha.passphrase1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-11.12.1 app/pb_kits/playbook/pb_user/user.html.erb