Fixed broken method in the HtmlHelper.

HtmlHelper::inputTag() had the $size param removed.
HtmlHelper::inputTag() had variable with underscore in name still.
param in method was camelCased


git-svn-id: https://svn.cakephp.org/repo/trunk/cake@328 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2005-07-04 21:00:43 +00:00
parent 8a2592ba3c
commit 24c9c0478f

View file

@ -225,14 +225,15 @@ class HtmlHelper
* Returns a formatted INPUT tag for HTML FORMs.
*
* @param string $tagName If field is to be used for CRUD, this should be modelName/fieldName
* @param int $size Size attribute for INPUT element
* @param array $htmlOptions
* @return string The formatted INPUT element
*/
function inputTag($tagName, $htmlOptions=null)
function inputTag($tagName, $size=20, $htmlOptions=null)
{
if (strpos($tagName, '/') !== false)
{
list($model, $field) = explode("/", $tag_name);
list($model, $field) = explode("/", $tagName);
}
else
{