Permalink
Browse files

Making docblock for `Form::field()` less ambiguous.

  • Loading branch information...
1 parent 74756b0 commit 55fd8002c736e53ef07d4050224cfb9c10c7c080 @nateabele nateabele committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 template/helper/Form.php
View
@@ -418,7 +418,7 @@ public function __call($type, array $params = array()) {
* parameters. By default, the label text is a human-friendly version of `$name`.
* However, you can specify the label manually as a string, or both the label
* text and options as an array, i.e.:
- * `array('label text' => array('class' => 'foo', 'any' => 'other options'))`.
+ * `array('Your Label Title' => array('class' => 'foo', 'other' => 'options'))`.
* - `'type'` _string_: The type of form field to render. Available default options
* are: `'text'`, `'textarea'`, `'select'`, `'checkbox'`, `'password'` or
* `'hidden'`, as well as any arbitrary type (i.e. HTML5 form fields).

0 comments on commit 55fd800

Please sign in to comment.