Sha256: 87c767b28d9047dd8d2297724f5cfa6442e4e3a2898bc5ca29b65b80f923240d

Contents?: true

Size: 736 Bytes

Versions: 6

Compression:

Stored size: 736 Bytes

Contents

<%= bs5_button_group do %>
  <%= bs5_dropdown('Small button', size: :small) do |d| %>
    <%= d.item do %><%= link_to 'Action', '#' %><% end %>
    <%= d.item do %><%= link_to 'Another action', '#' %><% end %>
    <%= d.item do %><%= link_to 'Something else here', '#' %><% end %>
    <%= d.item %>
    <%= d.item do %><%= link_to 'Separated link', '#' %><% end %>
  <% end %>
<% end %>

<%= bs5_dropdown('Small button', split: true, size: :small) do |d| %>
  <%= d.item do %><%= link_to 'Action', '#' %><% end %>
  <%= d.item do %><%= link_to 'Another action', '#' %><% end %>
  <%= d.item do %><%= link_to 'Something else here', '#' %><% end %>
  <%= d.item %>
  <%= d.item do %><%= link_to 'Separated link', '#' %><% end %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bs5-0.0.31 app/views/bs5/examples/dropdowns/sizing/snippet2.html.erb
bs5-0.0.30 app/views/bs5/examples/dropdowns/sizing/snippet2.html.erb
bs5-0.0.29 app/views/bs5/examples/dropdowns/sizing/snippet2.html.erb
bs5-0.0.28 app/views/bs5/examples/dropdowns/sizing/snippet2.html.erb
bs5-0.0.27 app/views/bs5/examples/dropdowns/sizing/snippet2.html.erb
bs5-0.0.26 app/views/bs5/examples/dropdowns/sizing/snippet2.html.erb