Trying to theme a form into all the pieces available, passed my $form and $vars through hook_preprocess_HOOK but in my tpl i would like the exact render() representation of the fields and variables and the form itself like:
print $form_tag.
$form_input1.
$form_input2.
$theme_var1.
$form_closure; <!-- build_id,token_id -->
?>
Where there are declared in the preprosess_HOOK as
$form = $variables['form'];
$variables['form_tag'] = render($form);
$variables['form_input1'] = render($form['input1']);
$variables['closure'] = drupal_render_children($form);
...
Is it possible to have all this variables of produced HTML in my tpl? like form start tag and closure and render correctly all the inner fields? Thank you