Sha256: 610d24ba3c2e28aeb6e86ac5a95c2cb3e13374d5ec9377e845e4b6ec5e621e2f

Contents?: true

Size: 784 Bytes

Versions: 2

Compression:

Stored size: 784 Bytes

Contents

<%= bs5_button_toolbar(aria: { label: 'Toolbar with button groups' }) do %>
  <%= bs5_button_group(class: 'me-2', aria: { label: 'First group' }) do %>
    <%= bs5_button_tag('1', type: 'button') %>
    <%= bs5_button_tag('2', type: 'button') %>
    <%= bs5_button_tag('3', type: 'button') %>
    <%= bs5_button_tag('4', type: 'button') %>
  <% end %>

  <%= bs5_button_group(class: 'me-2', aria: { label: 'Second group' }) do %>
    <%= bs5_button_tag('5', type: 'button', style: :secondary) %>
    <%= bs5_button_tag('6', type: 'button', style: :secondary) %>
    <%= bs5_button_tag('7', type: 'button', style: :secondary) %>
  <% end %>

  <%= bs5_button_group(aria: { label: 'Third group' }) do %>
    <%= bs5_button_tag('8', type: 'button', style: :info) %>
  <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bs5-0.0.19 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb
bs5-0.0.18 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb