cakephp/cakephp — pull request #598 by nshahzad (2012-04-05 15:15:44+00:00)
Title: Allow the formHelper->label() to have default options from inputDefaults

Ok, re-doing this request to the proper branch.

This allows any labels to have their default options set using the inputDefaults() array.
It seems to me that 'label' is the only one missing this, as all other inputs have it.

I looked at the unit-tests for the formHelper, and I wasn't quite sure how to implement the tests, I can amend this commit with any tests, just advise me on the proper way to lay them out.