yaml_form_builder

Posted by anup.narkhede on October 13, 2007

This plugin provides a simple way to generate dynamic forms in view. The forms are configured with the help of a yaml configuration file.

1) Installation

2) Configuration
The example below demonstrates a form generated for the following schema.

3) Configuration
Create a file named formconfig.yml in /config directory.

4) Controller
Fetch records in the controller.

5) Finally the helper in View
(views/form/index.rhtml)

The url /form/index shows a form, generated dynamically with the help of above yml configuration file.

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

Comments