<?php
/* @var $this DepartmentController */
/* @var $model Department */
/* @var $form CActiveForm */
?>

<div class="form-normal form-horizontal clearfix">
	<div class="col-lg-9 col-md-10">

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

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'id_department'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textField($model,'id_department',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'id_department'); ?>
			</div>

		</div>

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'name'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textField($model,'name',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'name'); ?>
			</div>

		</div>

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'leader'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textField($model,'leader',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'leader'); ?>
			</div>

		</div>

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'address'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textArea($model,'address',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'address'); ?>
			</div>

		</div>

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'email'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textField($model,'email',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'email'); ?>
			</div>

		</div>

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'image'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textField($model,'image',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'image'); ?>
			</div>

		</div>

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'website'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textField($model,'website',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'website'); ?>
			</div>

		</div>

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'views'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textField($model,'views',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'views'); ?>
			</div>

		</div>

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'status'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textField($model,'status',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'status'); ?>
			</div>

		</div>

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'type'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textField($model,'type',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'type'); ?>
			</div>

		</div>

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'created_id'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textField($model,'created_id',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'created_id'); ?>
			</div>

		</div>

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'created_date'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textField($model,'created_date',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'created_date'); ?>
			</div>

		</div>

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'update_id'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textField($model,'update_id',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'update_id'); ?>
			</div>

		</div>

		<div class="form-group">

			<div class="col-sm-4 control-label">
				<?php echo $form->labelEx($model,'update_date'); ?>
			</div>

			<div class="col-sm-8">
				<?php echo $form->textField($model,'update_date',array('class'=>'form-control')); ?>
				<?php echo $form->error($model,'update_date'); ?>
			</div>

		</div>

		<div class="form-group">
			<div class="col-md-12">
				<?php echo CHtml::submitButton('Search', array('class' => 'btn btn-info btn-flat pull-right')); ?>
			</div>
		</div>

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


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