Sha256: 5499ee95c7e350655019cf3e6c4263d67dc944df64d9bc010a064a093a65ca13
Contents?: true
Size: 766 Bytes
Versions: 63
Compression:
Stored size: 766 Bytes
Contents
<%= content_tag(:div, id: object.id, data: object.data, 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
63 entries across 63 versions & 1 rubygems