<?php
/* @var $this WidgetInstanceController */
/* @var $model WidgetInstance */
/* @var $form CActiveForm */
?>
<div class="col-xs-12">
    <?php
    $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	'action' => Yii::app()->createUrl($this->route),
	'method' => 'get',
    ));
    ?>
    <?php echo $form->textFieldControlGroup($model, 'id'); ?>
    <?php echo $form->textFieldControlGroup($model, 'title', array( 'maxlength' => 200)); ?>
    <?php echo $form->textAreaControlGroup($model, 'options', array('rows' => 6, 'cols' => 50)); ?>
    <?php echo $form->textFieldControlGroup($model, 'widget_id'); ?>
    
	<?php echo TbHtml::formActions(array(TbHtml::submitButton('Search', array('color' => TbHtml::BUTTON_COLOR_PRIMARY)))); ?>
    
    <?php $this->endWidget(); ?>
</div><!-- search-form -->