<?php
/* @var $this ScoreController */
/* @var $model Score */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'score-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'student_id'); ?>
		<?php echo $form->textField($model,'student_id'); ?>
		<?php echo $form->error($model,'student_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'classroom_id'); ?>
		<?php echo $form->textField($model,'classroom_id'); ?>
		<?php echo $form->error($model,'classroom_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'grade_id'); ?>
		<?php echo $form->textField($model,'grade_id'); ?>
		<?php echo $form->error($model,'grade_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'exam_id'); ?>
		<?php echo $form->textField($model,'exam_id'); ?>
		<?php echo $form->error($model,'exam_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'singlechoiceScore'); ?>
		<?php echo $form->textField($model,'singlechoiceScore'); ?>
		<?php echo $form->error($model,'singlechoiceScore'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'multichoiceScore'); ?>
		<?php echo $form->textField($model,'multichoiceScore'); ?>
		<?php echo $form->error($model,'multichoiceScore'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'judgeScore'); ?>
		<?php echo $form->textField($model,'judgeScore'); ?>
		<?php echo $form->error($model,'judgeScore'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fillinScore'); ?>
		<?php echo $form->textField($model,'fillinScore'); ?>
		<?php echo $form->error($model,'fillinScore'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'faqScore'); ?>
		<?php echo $form->textField($model,'faqScore'); ?>
		<?php echo $form->error($model,'faqScore'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'operateScore'); ?>
		<?php echo $form->textField($model,'operateScore'); ?>
		<?php echo $form->error($model,'operateScore'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'totalScore'); ?>
		<?php echo $form->textField($model,'totalScore'); ?>
		<?php echo $form->error($model,'totalScore'); ?>
	</div>

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

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

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

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

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

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

	<div class="row">
		<?php echo $form->labelEx($model,'reexam'); ?>
		<?php echo $form->textField($model,'reexam'); ?>
		<?php echo $form->error($model,'reexam'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

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

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