Fix tabs on Form close method.

This commit is contained in:
Taylor Otwell 2011-06-14 11:13:32 -07:00
parent 80173d4848
commit 59fa681de1
1 changed files with 10 additions and 10 deletions

View File

@ -278,16 +278,6 @@ public static function select($name, $options = array(), $selected = null, $attr
return '<select'.HTML::attributes($attributes).'>'.implode('', $html_options).'</select>'.PHP_EOL;
}
/**
* Close a HTML form
*
* @return string
*/
public static function close()
{
return '</form>'.PHP_EOL;
}
/**
* Create a HTML input element.
*
@ -306,4 +296,14 @@ private static function input($type, $name, $value = null, $attributes = array()
return '<input'.HTML::attributes($attributes).' />'.PHP_EOL;
}
/**
* Close a HTML form.
*
* @return void
*/
public static function close()
{
return '</form>'.PHP_EOL;
}
}