Sha256: 051d20c069747fcedf22e661a0fd3081da039802b4dff080ea6690462366594d

Contents?: true

Size: 1018 Bytes

Versions: 3

Compression:

Stored size: 1018 Bytes

Contents

<h1>Modal Helpers</h1>

<ul>
  <li><%= link_to('Bootstrap Documentation', 'http://twitter.github.io/bootstrap/javascript.html#modals') %></li>
  <li><%= link_to('API Documentation', 'http://rubydoc.info/gems/bootstrap-view-helpers/Bootstrap/ModalHelper') %>
</ul>

<h2>Basic Modal</h2>

<h3>Example</h3>
<%= render partial: 'modal_basic' %>

<h3>Source</h3>
<%= bvh_show_source('bootstrap_view_helpers/_modal_basic') %>

<h2>Modal Utilizing Options, block form</h2>

<h3>Example</h3>
<%= render partial: 'modal_block' %>

<h3>Source</h3>
<%= bvh_show_source('bootstrap_view_helpers/_modal_block') %>

<h2>Modal Alert</h2>
<p>Simulate a Javascript <code>alert</code>:</p>

<h3>Example</h3>
<%= render partial: 'modal_alert' %>

<h3>Source</h3>
<%= bvh_show_source('bootstrap_view_helpers/_modal_alert') %>

<h2>Modal Confirm</h2>
<p>Simulate a Javascript <code>confirm</code>:</p>

<h3>Example</h3>
<%= render partial: 'modal_confirm' %>

<h3>Source</h3>
<%= bvh_show_source('bootstrap_view_helpers/_modal_confirm') %>

Version data entries

3 entries across 3 versions & 1 rubygems

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