Skip to content

judgegem/judge-formtastic

Repository files navigation

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

About

Adapter for using Judge with Formtastic

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages