Sha256: 1e1dd188f56f6ff61c5a60e452b23446492500bbbd0c52dfb56db2432e12ef69

Contents?: true

Size: 735 Bytes

Versions: 1

Compression:

Stored size: 735 Bytes

Contents

<%= pb_content_tag(:div, class: object.classname + object.size_class, **combined_html_options) do %>
  <% if object.name.present? %>
    <%= pb_rails("avatar", props: { name: object.name, image_url: object.avatar_url, size: "xs" }) %>
      <%= pb_rails("title", props: { text: object.name, size: 4, classname: "pb_form_pill_text" }) %>
        <% elsif object.text.present? %>
          <%= pb_rails("title", props: { text: object.text, size: 4, classname: "pb_form_pill_tag" }) %>
            <% end %>

              <%= pb_rails("body", props: { classname: "pb_form_pill_close" }) do %>
                <%= pb_rails("icon", props: { icon: 'times' , fixed_width: true }) %>
                  <% end %>
                    <% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
playbook_ui-13.24.0.pre.alpha.play1305drycontenttag2689 app/pb_kits/playbook/pb_form_pill/form_pill.html.erb