Sha256: 42fe7e0a1504d0515217c68f9bf9da1d3f68d0199ba1893246eeae52aa549368

Contents?: true

Size: 810 Bytes

Versions: 1

Compression:

Stored size: 810 Bytes

Contents

<%= content_tag(:div,
    id: object.id,
    data: object.data,
    class: object.classname) do %>
      

    <% if object.tooltip_text.present? %>
        <%= pb_rails("tooltip", props: {
          trigger_element_id: object.tooltip_id,
          tooltip_id: "tooltip-2",
          position: 'top',
          dark: true,
        }) do %>
          <%= object.tooltip_text %>
        <% end %>
    <% end %>

    <%= link_to object.link_url, id: object.tooltip_id do %>

      <%= pb_rails("avatar", props: {
        name: object.name,
        size: object.size,
        image_url: object.image_url,
        class: "avatar_action"
      }) %>
        <div class="icon">
            <%= pb_rails("icon", props: {
              icon: object.action_icons
            }) %>
        </div>
    <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
playbook_ui-4.17.0 app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.html.erb