Commit 279983b0 authored by Michael Hasselbring's avatar Michael Hasselbring

add form method to form

parent af24e8db
...@@ -252,6 +252,16 @@ class Form { ...@@ -252,6 +252,16 @@ 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>';
}
/** /**
* Create a HTML input element. * Create a HTML input element.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment