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-13.21.0.pre.alpha.PLAY12652489 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.21.0.pre.alpha.pbntr220improveexpansionspeed2451 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.21.0.pre.alpha.PBNTR224letuserresetrowexpansion2441 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.21.0.pre.alpha.PBNTR225advancedtablefeedback2438 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.21.0.pre.alpha.PBNTR238DatePickerYearBug2436 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.21.0.pre.alpha.pbntr220improveexpansionspeed2431 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.21.0.pre.alpha.pbntr220improveexpansionspeed2415 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.20.0.pre.alpha.PLAY12572402 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.21.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.20.0.pre.alpha.PBNTR225advancedtablefeedback2375 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.19.0.pre.alpha.PBNTR200addadvancedtablekitdarkmodestyles2346 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2345 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2342 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.19.0.pre.alpha.play1186collapsiblenaviconcolorbug2321 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.19.0.pre.alpha.PBNTR211tablekitsubcomponentsreact2318 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2306 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2305 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.20.0 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.19.0.pre.alpha.play1141iconkitusinglibrary2264 app/pb_kits/playbook/pb_user/user.html.erb
playbook_ui-13.19.0.pre.alpha.PBNTR207tabledivsupport2261 app/pb_kits/playbook/pb_user/user.html.erb