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.26.1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.multiselectfixes825 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown822 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.multiselectfixes821 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown818 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown817 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown815 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown813 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.alphafix812 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.alphafix810 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.railsmultilevelimprovements805 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.multiselectfixes798 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.multiselectfixes797 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.multiselectfixes796 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.multiselectfixes795 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown794 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.25.0.pre.alpha.play824786 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.26.0 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.25.0.pre.alpha.railsmultilevelimprovements785 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.25.0.pre.alpha.railsmultilevelimprovements780 app/pb_kits/playbook/pb_button/button.html.erb