Sha256: a6c16828e767205e166fea1f698e4a090bfc78145ffa8ee3575d076a9f366d46
Contents?: true
Size: 874 Bytes
Versions: 553
Compression:
Stored size: 874 Bytes
Contents
<%= content_tag(:div, aria: object.aria, class: object.classname, data: object.data, id: object.id, **combined_html_options) 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
553 entries across 553 versions & 1 rubygems