Sha256: bc14acb0cc614ae3e6b26b32dea14ebfc6d3a617c57dee9983bf4876c0029280

Contents?: true

Size: 444 Bytes

Versions: 3

Compression:

Stored size: 444 Bytes

Contents

<%= modal_trigger("Click to show modal", href: '#modal-2', class: 'btn btn-primary') %>

<%= modal(id: 'modal-2') do %>
  <%= modal_header(close: false) do %>
    Heading <small>(with no close button)</small>
  <% end %>
  <%= modal_body do %>
    <h4>Modal Body</h4>
    <p>With additional markup</p>
  <% end %>
  <%= modal_footer do %>
    <%= button("Save", :primary) %>
    <%= modal_footer_close_button("Dismiss") %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bootstrap-view-helpers-0.0.14 app/views/bootstrap_view_helpers/_modal_block.html.erb
bootstrap-view-helpers-0.0.13 app/views/bootstrap_view_helpers/_modal_block.html.erb
bootstrap-view-helpers-0.0.12 app/views/bootstrap_view_helpers/_modal_block.html.erb