openstreetmap-website/vendor/plugins/dynamic_form
2011-11-14 09:42:42 +00:00
..
lib/action_view Add the dynamic form plugin to get error_messages_for support back 2011-11-14 09:42:42 +00:00
test Add the dynamic form plugin to get error_messages_for support back 2011-11-14 09:42:42 +00:00
init.rb Add the dynamic form plugin to get error_messages_for support back 2011-11-14 09:42:42 +00:00
MIT-LICENSE Add the dynamic form plugin to get error_messages_for support back 2011-11-14 09:42:42 +00:00
Rakefile Add the dynamic form plugin to get error_messages_for support back 2011-11-14 09:42:42 +00:00
README Add the dynamic form plugin to get error_messages_for support back 2011-11-14 09:42:42 +00: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