UnionOfRAD/lithium — pull request #455 by mariano (2012-05-12 16:56:02+00:00)
Title: Add multiple binding support to FormHelper

Currently FormHelper can only be tied to one binding. However there are many scenarios on which more than one binding is needed, such as a form that deals with two or more entities.

This pull request adds support for multiple bindings to forms without affecting BC. It follows a very simple approach (greatly improved by @nateabele), and allows one to easily create multi-entity forms:

```php
form->create(compact('user', 'profile'));
echo $this->form->field('user.email');
echo $this->form->field('profile.name');
echo $this->form->field('profile.about');
?>
```