Sha256: 315a42dea0f284aad067699d31373c98372da365d807f9f1fe84eedc74ebf664

Contents?: true

Size: 616 Bytes

Versions: 5

Compression:

Stored size: 616 Bytes

Contents

<%= bs5_modal(size: :xl) do |m| %>
  <%= m.controller do %>
    <%= bs5_button_tag('Extra large modal', type: 'button') %>
  <% end %>
  <%= m.header { 'Extra large modal' } %>
  <%= m.body { '...' } %>
<% end %>

<%= bs5_modal(size: :lg) do |m| %>
  <%= m.controller do %>
    <%= bs5_button_tag('Large modal', type: 'button') %>
  <% end %>
  <%= m.header { 'Large modal' } %>
  <%= m.body { '...' } %>
<% end %>

<%= bs5_modal(size: :sm) do |m| %>
  <%= m.controller do %>
    <%= bs5_button_tag('Small modal', type: 'button') %>
  <% end %>
  <%= m.header { 'Small modal' } %>
  <%= m.body { '...' } %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bs5-0.0.31 app/views/bs5/examples/modal/optional_sizes/snippet1.html.erb
bs5-0.0.30 app/views/bs5/examples/modal/optional_sizes/snippet1.html.erb
bs5-0.0.29 app/views/bs5/examples/modal/optional_sizes/snippet1.html.erb
bs5-0.0.28 app/views/bs5/examples/modal/optional_sizes/snippet1.html.erb
bs5-0.0.27 app/views/bs5/examples/modal/optional_sizes/snippet1.html.erb