Sha256: 75ad0e80cab81362d4cbe6239a25d8b3b05ccf86c0772ac71277b9718f910548

Contents?: true

Size: 710 Bytes

Versions: 8

Compression:

Stored size: 710 Bytes

Contents

<%= pb_content_tag(:div, class: object.classname + object.size_class) 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

8 entries across 8 versions & 1 rubygems

Version Path
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12820 app/pb_kits/playbook/pb_form_pill/form_pill.html.erb
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12816 app/pb_kits/playbook/pb_form_pill/form_pill.html.erb
playbook_ui-13.25.0.pre.alpha.PBNTR291Dropdownrailsv22812 app/pb_kits/playbook/pb_form_pill/form_pill.html.erb
playbook_ui-13.26.0 app/pb_kits/playbook/pb_form_pill/form_pill.html.erb
playbook_ui-13.25.0.pre.alpha.PLAY1249fixTooltipswrappingformelementscausingmisalignment2785 app/pb_kits/playbook/pb_form_pill/form_pill.html.erb
playbook_ui-13.25.0.pre.alpha.PLAY1249fixTooltipswrappingformelementscausingmisalignment2783 app/pb_kits/playbook/pb_form_pill/form_pill.html.erb
playbook_ui-13.25.0.pre.alpha.PBNTR272Dropdownkitv42769 app/pb_kits/playbook/pb_form_pill/form_pill.html.erb
playbook_ui-13.25.0.pre.alpha.barchartfix2766 app/pb_kits/playbook/pb_form_pill/form_pill.html.erb