Sha256: a084f7727c6341b66194100d0c8ff8ad9b5f31cdf3296c85574be29dc1b8cdbc

Contents?: true

Size: 697 Bytes

Versions: 230

Compression:

Stored size: 697 Bytes

Contents

<%= content_tag(object.tag,
    object.tag == "button" ? object.options : object.link_options) do %>
    <% if object.icon && !object.icon_right %>
        <span>
            <%= pb_rails("icon", props: { icon: "#{icon}", fixed_width: true, margin_right: "xs" }) %>
        </span>
    <% end %>
    <%= pb_rails("icon", props: { icon: "spinner", pulse: true, fixed_width: true, classname: "loading-icon" }) %>
    <span class="pb_button_content"><%= content.presence || object.text %></span>
    <% if object.icon && object.icon_right %>
        <span>
            <%= pb_rails("icon", props: { icon: "#{icon}", fixed_width: true, margin_left: "xs" }) %>
        </span>
    <% end %>

<% end %>

Version data entries

230 entries across 230 versions & 1 rubygems

Version Path
playbook_ui-12.10.0 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.9.1.pre.alpha.play664tiptapinvestigation353 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.9.1.pre.alpha.PLAY689bugtxtinputlabel346 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.9.1.pre.alpha.menucleanup345 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.9.1.pre.alpha.menucleanup342 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.9.1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.9.0 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY625phonenumberdark301 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY625phonenumberdark300 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY649mapkitstyles299 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep298 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep297 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease296 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease295 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease294 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.8.0 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease293 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease292 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease291 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.7.1.pre.alpha.alpharubyrelease281 app/pb_kits/playbook/pb_button/button.html.erb