mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 14:01:48 +00:00
13 lines
420 B
Text
13 lines
420 B
Text
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
|