Modal form example
Ruby HTML CSS JavaScript CoffeeScript
Failed to load latest commit information.
app Upgrade to rails 4 Apr 20, 2016
bin Upgrade to rails 4 Apr 20, 2016
config Upgrade to rails 4 Apr 20, 2016
db Upgrade to rails 4 Apr 20, 2016
lib
log Upgrade to rails 4 Apr 20, 2016
public Upgrade to rails 4 Apr 20, 2016
test Upgrade to rails 4 Apr 20, 2016
vendor/assets Upgrade to rails 4 Apr 20, 2016
.gitignore Upgrade to rails 4 Apr 20, 2016
Gemfile Upgrade to rails 4 Apr 20, 2016
Gemfile.lock Upgrade to rails 4 Apr 20, 2016
README.md Add link to rails3 tag to README.md Apr 20, 2016
Rakefile Upgrade to rails 4 Apr 20, 2016
config.ru Upgrade to rails 4 Apr 20, 2016

README.md

Modal form example

This is an example of how I'd use jQuery-UI dialog form to implement a modal form which handles errors (in response to http://stackoverflow.com/questions/6374664/rails-and-modal-jquery-dialog-form).

If you're looking for the rails 3 example it's still here: https://github.com/ramblex/modal-form/tree/rails3

Use the following to get started. After downloading the app run:

bundle
bundle exec rake db:migrate
bundle rails s

Go to http://localhost:3000/articles and the modal form should come up when you click on the 'New article' link.