rudiedirkx/Rudie-on-wheels — Issue #44: Make Form class to output validationless forms
Author: rudiedirkx
Created: 2012-01-03 23:26:44+00:00
State: open

Like Lithium:

form->create();
echo $this->form->field('email');
echo $this->form->field('password', array('type' => 'password'));
echo $this->form->submit('Login');
echo $this->form->end();
?>

but better. More like:

form();
echo $form->field(.....);
echo $form->close();
?>

or something like that.

Obviously it must be easily extendable. Two ways IMO:

* Overriding `Output->form` to create a `Form` object with different class (not `row\form\Form`)
* Assigning a new class name to `row\form\Form::$class` (like in `app\specs\Output`)