Skip to content
Browse files

Additional tweak to FormHelper::input(), make float types use the num…

…ber input
  • Loading branch information...
1 parent 804e88b commit 2ef17ec0a7b1cd8349402830075e0156ec631272 @ProLoser ProLoser committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/View/Helper/FormHelper.php
View
2 lib/Cake/View/Helper/FormHelper.php
@@ -917,7 +917,7 @@ public function input($fieldName, $options = array()) {
'string' => 'text', 'datetime' => 'datetime',
'boolean' => 'checkbox', 'timestamp' => 'datetime',
'text' => 'textarea', 'time' => 'time',
- 'date' => 'date', 'float' => 'text',
+ 'date' => 'date', 'float' => 'number',
'integer' => 'number'
);

0 comments on commit 2ef17ec

Please sign in to comment.
Something went wrong with that request. Please try again.