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

$this->breadcrumbs=array(
	'Departments'=>array('index'),
	$model->name,
);

$this->pageTitle='Detail Department';
?>

<span class="visible-xs">

	<?php echo CHtml::link('<i class="fa fa-edit"></i>',
		array('update', 'id'=>$model->id_department,
	), array('class' => 'btn btn-info btn-flat', 'title'=>'Edit Department'));
	?>
	<?php echo CHtml::link('<i class="fa fa-remove"></i>',
		array('delete', 'id'=>$model->id_department,
	),  array('class' => 'btn btn-danger btn-flat', 'title'=>'Hapus Department'));
	?>

</span>

<span class="hidden-xs">

	<?php echo CHtml::link('Edit',
		array('update', 'id'=>$model->id_department,
	), array('class' => 'btn btn-info btn-flat', 'title'=>'Edit Department'));
	?>
	<?php echo CHtml::link('Hapus',
		array('delete', 'id'=>$model->id_department,
	),  array('class' => 'btn btn-danger btn-flat', 'title'=>'Hapus Department'));
	?>

</span>

<HR>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'htmlOptions'=>array("class"=>"table"),
	'attributes'=>array(
		'id_department',
		'name',
		'leader',
		'address',
		'email',
		'image',
		'website',
		'views',
		'status',
		'type',
		'created_id',
		'created_date',
		'update_id',
		'update_date',
	),
)); ?>

<STYLE>
	th{width:150px;}
</STYLE>

