Sha256: 9f4517d894df17ffaa3ada4226ce705e5c9eeb24c0c6b9d3dd801a653da767e7

Contents?: true

Size: 784 Bytes

Versions: 12

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', color: :secondary) %>
    <%= bs5_button_tag('6', type: 'button', color: :secondary) %>
    <%= bs5_button_tag('7', type: 'button', color: :secondary) %>
  <% end %>

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
bs5-0.0.31 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb
bs5-0.0.30 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb
bs5-0.0.29 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb
bs5-0.0.28 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb
bs5-0.0.27 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb
bs5-0.0.26 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb
bs5-0.0.25 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb
bs5-0.0.24 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb
bs5-0.0.23 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb
bs5-0.0.22 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb
bs5-0.0.21 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb
bs5-0.0.20 app/views/bs5/examples/button_group/button_toolbar/snippet.html.erb