In CakePHP 2.x, FormHelper::inputs doesn't make buttons. It makes input
elements. If you want a button, try using FormHelper::submit for a submit
button, or in this case FormHelper::button as in:
echo $this-Form-button('Cancel upload',
array('type' = 'reset',
'class' = 'btn
FormHelper::inputs does create more than only input elements. I have forms
where I've included textareas and selects in it.
So I hoped we could also put some submit and reset buttons in it ;)
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
Hi there!
I'm trying to use the jquery file uploader
https://github.com/blueimp/jQuery-File-Upload/wiki in combination with
CakePHP.
The HTML form uses 3 different button types:
- submit (button type=submitStart upload/submit)
- reset (button type=resetStart upload/submit)
- button