caolan/forms — pull request #34 by grippy (2012-09-02 03:52:33+00:00)
Title: Store the field definition key as the field definition "name"

Right now, manual field rendering requires knowing the name of the 'key' being rendered.

Like so: form.field.email.toHTML('email');

This patch removes the 'name' argument from the field.toHTML method.

Like so: form.field.email.toHTML();

Left how the Form calls toHTML alone so this works both ways.