Permalink
Browse files

Updating doc blocks for FormHelper::input() refs #735

  • Loading branch information...
1 parent 3a81a9e commit 82250efc3e31e7ed802c2bd6f2d032055ac93229 @markstory markstory committed May 21, 2010
Showing with 4 additions and 3 deletions.
  1. +4 −3 cake/libs/view/helpers/form.php
@@ -684,9 +684,10 @@ function inputs($fields = null, $blacklist = null) {
* - `after` - Content to place after the label + input.
* - `between` - Content to place between the label + input.
* - `format` - format template for element order. Any element that is not in the array, will not be in the output.
- * Default input format order: array('before', 'label', 'between', 'input', 'after', 'error')
- * Default checkbox format order: array('before', 'input', 'between', 'label', 'after', 'error')
- * Hidden input will not be formatted
+ * - Default input format order: array('before', 'label', 'between', 'input', 'after', 'error')
+ * - Default checkbox format order: array('before', 'input', 'between', 'label', 'after', 'error')
+ * - Hidden input will not be formatted
+ * - Radio buttons cannot have the order of input and label elements controlled with these settings.
*
* @param string $fieldName This should be "Modelname.fieldname"
* @param array $options Each type of input takes different options.

0 comments on commit 82250ef

Please sign in to comment.