Skip to content
Permalink
Browse files

Clarifying the behaviour of FormHelper::button() fixes #335

  • Loading branch information...
markstory committed Feb 13, 2010
1 parent 7a655f7 commit a479f32da5384c312496b4b57c28c572abf96ea0
Showing with 2 additions and 1 deletion.
  1. +2 −1 cake/libs/view/helpers/form.php
@@ -1174,7 +1174,8 @@ function file($fieldName, $options = array()) {
}
/**
* Creates a `<button>` tag.
* Creates a `<button>` tag. The type attribute defaults to `type="submit"`
* You can change it to a different value by using `$options['type']`.
*
* ### Options:
*

0 comments on commit a479f32

Please sign in to comment.
You can’t perform that action at this time.