Skip to content

Commit

Permalink
Add info about "templates" option for FormHelper::input().
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jun 7, 2015
1 parent 3953c1e commit 2f4ddfc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/View/Helper/FormHelper.php
Expand Up @@ -978,6 +978,9 @@ public function fieldset($fields = '', array $options = [])
* - `nestedInput` - Used with checkbox and radio inputs. Set to false to render inputs outside of label
* elements. Can be set to true on any input to force the input inside the label. If you
* enable this option for radio buttons you will also need to modify the default `radioWrapper` template.
* - `templates` - The templates you want to use for this input. Any templates will be merged on top of
* the already loaded templates. This option can either be a filename in /config that contains
* the templates you want to load, or an array of templates to use.
*
* @param string $fieldName This should be "modelname.fieldname"
* @param array $options Each type of input takes different options.
Expand Down

0 comments on commit 2f4ddfc

Please sign in to comment.