theme_form($element)theme_form($variables)Format a form.
$element An associative array containing the properties of the element. Properties used: action, method, attributes, children
A themed HTML string representing the form.
5/includes/form.inc, line 1430
<?php
function theme_form($element) {
// Anonymous div to satisfy XHTML compliance.
$action = $element['#action'] ? 'action="' . check_url($element['#action']) . '" ' : '';
return '<form '. $action .' accept-charset="UTF-8" method="'. $element['#method'] .'" '. 'id="'. $element['#id'] .'"'. drupal_attributes($element['#attributes']) .">\n<div>". $element['#children'] ."\n</div></form>\n";
}
?>