<?php
/* @var $this SuggestionsController */
/* @var $model Suggestions */
/* @var $form CActiveForm */
?>

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

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

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

	<div class="row">
			<?php echo $form->labelEx($model, 'startDate', array('class' => 'col-md-3 control-label')); ?>
					<div class="col-md-5 controls">
						<?php
					
						$this->widget('zii.widgets.jui.CJuiDatePicker', array(
							'model' => $model,
							'attribute' => 'startDate',
							'options' => array(
								'dateFormat' => 'yy-mm-dd',
							),
							'htmlOptions' => array(
								'size' => '10', // textField size
								'maxlength' => '10', // textField maxlength
								'class' => 'form-control',
							),
						));
						?>
					</div>
					<?php echo $form->error($model, 'startDate'); ?>

	</div>
	<br>
	<div class="row">
			<?php echo $form->labelEx($model, 'endDate', array('class' => 'col-md-3 control-label')); ?>
					<div class="col-md-5 controls">
						<?php
						
						$this->widget('zii.widgets.jui.CJuiDatePicker', array(
							'model' => $model,
							'attribute' => 'endDate',
							'options' => array(
								'dateFormat' => 'yy-mm-dd',
							),
							'htmlOptions' => array(
								'size' => '10', // textField size
								'maxlength' => '10', // textField maxlength
								'class' => 'form-control',
							),
						));
						?>
					</div>
					<?php echo $form->error($model, 'endtDate'); ?>
	</div>
	<?php
                            echo TbHtml::formActions(array(
                         TbHtml::submitButton(Yii::t('admin', 'export') , array('color' => TbHtml::BUTTON_COLOR_PRIMARY)),
            		    )
								);
                            ?>

		
<?php $this->endWidget(); ?>

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