<?php
/* @var $this FavoritesController */
/* @var $model Favorites */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'favorites-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,'singleFavorites'); ?>
		<?php echo $form->textArea($model,'singleFavorites',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'singleFavorites'); ?>
	</div>

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

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

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

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

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

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

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

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