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.14.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown457 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.14.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown456 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.14.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.13.0.pre.alpha.PLAY693tooltipwrongbg440 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.13.0.pre.alpha.addingProductTokens439 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.13.0.pre.alpha.PLAY705phonenumberkit438 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.13.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.12.0.pre.alpha.PLAY697sandpacklayoutstyles413 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.12.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.11.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.10.0.pre.alpha.PLAY705phonenumberreturn372 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.10.0.pre.alpha.PLAY677richtexteditorts370 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.10.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.9.1.pre.alpha.play664tiptapinvestigation353 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.9.1.pre.alpha.PLAY689bugtxtinputlabel346 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.9.1.pre.alpha.menucleanup345 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.9.1.pre.alpha.menucleanup342 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.9.1 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.9.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY625phonenumberdark301 app/pb_kits/playbook/pb_user/user.html.erb