Adapter for using Judge with Formtastic
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib/judge
spec
.travis.yml
CODE_OF_CONDUCT.md
Gemfile
LICENSE.txt
README.md
Rakefile
judge-formtastic.gemspec

README.md

judge-formtastic

Build status

This is an adapter gem which allows you to use Judge from within your Formtastic forms.

Usage

gem 'judge-formtastic'

Then add :validate => true to the input options in your views. That's all.

<%= semantic_form_for(@user) do |f| %>
  <%= f.input :name, :validate => true %>
<% end %>

Judge

Judge is a client-side validation gem for Rails 3. You can read more about it at judge.joecorcoran.co.uk.

License

Released under an MIT license (see LICENSE.txt).

http://blog.joecorcoran.co.uk