<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, 'varname', array( 'maxlength' => 50)); ?>
    <?php echo $form->textFieldControlGroup($model, 'title', array( 'maxlength' => 255)); ?>
    <?php echo $form->dropDownListControlGroup($model, 'field_type', ProfileField::itemAlias('field_type')); ?>
    <?php echo $form->textFieldControlGroup($model, 'field_size'); ?>
    <?php echo $form->textFieldControlGroup($model, 'field_size_min'); ?>
    <?php echo $form->dropDownListControlGroup($model, 'required', ProfileField::itemAlias('required')); ?>
    <?php echo $form->textFieldControlGroup($model, 'match', array( 'maxlength' => 255)); ?>
    <?php echo $form->textFieldControlGroup($model, 'range', array( 'maxlength' => 255)); ?>
    <?php echo $form->textFieldControlGroup($model, 'error_message', array( 'maxlength' => 255)); ?>
    <?php echo $form->textFieldControlGroup($model, 'other_validator', array( 'maxlength' => 5000)); ?>
    <?php echo $form->textFieldControlGroup($model, 'default', array( 'maxlength' => 255)); ?>
    <?php echo $form->textFieldControlGroup($model, 'widget', array( 'maxlength' => 255)); ?>
    <?php echo $form->textFieldControlGroup($model, 'widgetparams', array( 'maxlength' => 5000)); ?>
    <?php echo $form->textFieldControlGroup($model, 'position'); ?>
    <?php echo $form->dropDownListControlGroup($model, 'visible', ProfileField::itemAlias('visible')); ?>
    
	<?php echo CHtml::submitButton(UserModule::t('Search')); ?>
    
    <?php $this->endWidget(); ?>
</div><!-- search-form --> 