You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
###Currently I moved to angular-js for all my web applications. Because of that I do not maintain this project any more. It would be a pleasure for me to hand this project over to an other developer. Please just send me a note or create a issue if you are the one.
All images required by jQuery Modal are automatically served through the asset
pipeline, so you are good to go! For example, this code will open a given DIV
as a modal dialog
<div id="demo-form" class="demo-description" style="display: none; ">
<p>
The basic dialog window is an overlay positioned within the viewport and is protected from page content
(like select elements) shining through with an iframe. It has a title bar and a content area, and can be moved,
resized and closed with the 'x' icon by default.
</p>
</div>
<%= link_to_modal "Demo Form", "#demo-form", :class=>"button" %>
Opening an existing view via AJAX as a modal dialog is that easy:
<%= link_to_modal "New User", new_user_path, :class=>"button" %>
Forms-Support
The link_to_modal helper offers forms support. The following parameter ensures that every form which is part
of the received html content will be submitted via AJAX request. As a requirement the controller action needs
to support JSON