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

View File

@@ -278,16 +278,6 @@ class Form {
return '<select'.HTML::attributes($attributes).'>'.implode('', $html_options).'</select>'.PHP_EOL; 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. * Create a HTML input element.
* *
@@ -306,4 +296,14 @@ class Form {
return '<input'.HTML::attributes($attributes).' />'.PHP_EOL; return '<input'.HTML::attributes($attributes).' />'.PHP_EOL;
} }
/**
* Close a HTML form.
*
* @return void
*/
public static function close()
{
return '</form>'.PHP_EOL;
}
} }