<?php
/* @var $this QuestionnaireController */
/* @var $model Questionnaire */
/* @var $form CActiveForm */
?>

<div class="col-xs-12">

<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->textFieldControlGroup($model,'id'); ?>
	</div>

	<div class="row">
		<?php echo $form->textFieldControlGroup($model,'title',array('maxlength'=>500)); ?>
	</div>

	<div class="row">
		<?php echo $form->textFieldControlGroup($model,'title_en',array('maxlength'=>500)); ?>
	</div>

	<div class="row">
		<?php echo $form->textAreaControlGroup($model,'intro',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->textAreaControlGroup($model,'intro_en',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->textFieldControlGroup($model,'create_datetime'); ?>
	</div>

	<div class="row">
		<?php echo $form->textFieldControlGroup($model,'update_datetime'); ?>
	</div>

	<div class="row">
		<?php echo $form->textFieldControlGroup($model,'publish_datetime'); ?>
	</div>

	<?php
                            echo TbHtml::formActions(array(
                                    TbHtml::submitButton(Yii::t('admin', 'Search') , array('color' => TbHtml::BUTTON_COLOR_PRIMARY))
                                ));
                            ?>
<?php $this->endWidget(); ?>

</div><!-- search-form -->