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.7.1.pre.alpha.menu2 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.7.1.pre.alpha.menu1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.7.1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.7.0 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.6.0.pre.alpha.sectionseparator1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.6.0.pre.alpha.menuyml1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.6.0.pre.alpha.collapsible1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.6.0.pre.alpha.cssphone1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.6.0 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.5.0.pre.alpha.datepickerinput1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.5.0.pre.alpha.phonerails1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.5.0.pre.alpha.datepicker1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.5.0.pre.alpha.filter1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.5.0 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.4.0.pre.alpha.map1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.4.0.pre.alpha.devdocstest1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.4.0 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.3.1.pre.alpha.phone1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.3.1 app/pb_kits/playbook/pb_button/button.html.erb
playbook_ui-12.3.0.pre.alpha.patchtest1 app/pb_kits/playbook/pb_button/button.html.erb