photomix/vendor/plugins/dynamic_form
2010-09-17 17:57:33 +02:00
..
lib/action_view i can haz railz 3 2010-09-17 17:57:33 +02:00
test i can haz railz 3 2010-09-17 17:57:33 +02:00
init.rb i can haz railz 3 2010-09-17 17:57:33 +02:00
MIT-LICENSE i can haz railz 3 2010-09-17 17:57:33 +02:00
Rakefile i can haz railz 3 2010-09-17 17:57:33 +02:00
README i can haz railz 3 2010-09-17 17:57:33 +02:00

DynamicForm
===========

DynamicForm holds a few helpers method to help you deal with your models, they are:

* input(record, method, options = {})
* form(record, options = {})
* error_message_on(object, method, options={})
* error_messages_for(record, options={})

It also adds f.error_messages and f.error_messages_on to your form builders.

Copyright (c) 2010 David Heinemeier Hansson, released under the MIT license