<?php
/* @var $this FavoritesController */
/* @var $data errorset */
?>

<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('title')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->title), array('view','type'=>'judge','id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('tigan')); ?>:</b>
	<?php echo Helper::truncate_utf8_string($data->tigan,256); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('answer')); ?>:</b>
	<?php if($data->answer) echo "错误";else echo "正确"; ?>
	<br />
	
	<b><?php echo CHtml::label('操作',''); ?>:</b>
	<?php echo CHtml::link('删除',array('errorset/delete/','type'=>'judge'),$htmlOptions=array ('class'=>'delete','val'=>$data->id)); ?>
	<br />

</div>