string
widget(FormView $view, array $variables = array())
Renders the HTML for a given view. Example usage: <?php echo $view['form']->widget($form) ?>
You can pass options during the call: <?php echo $view['form']->widget($form, array('attr' => array('class' => 'foo'))) ?>
<?php echo $view['form']->widget($form, array('separator' => '+++++')) ?>
Parameters FormView $view The view for which to render the widget array $variables Additional v