<?php
/* @var $this StudentController */
/* @var $model Student */
/* @var $form CActiveForm */
?>
<style type="text/css">
span.required{color:red;}
</style>
<h1 style="color:red;">
	<?php echo Yii::app()->user->getFlash('imported'); ?>
</h1>
<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'import-form',
	'enableAjaxValidation'=>false,
	'htmlOptions'=>array('enctype' =>'multipart/form-data'),
)); ?>

	<p class="note">带<span class="required">*</span>的为必填字段.</p>

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


	<div class="row">
		<?php echo $form->labelEx($model,'csvfile'); ?>
		<?php echo $form->fileField($model,'csvfile',array('size'=>60,'maxlength'=>256)); ?>
		<?php echo $form->error($model,'csvfile'); ?>
	</div>

	
	<div class="row buttons">
		<?php echo CHtml::submitButton('提交'); ?>
	</div>

<?php $this->endWidget(); ?>
<hr />
<img src="<?php echo Yii::app()->homeUrl.'myfiles/import/1.png';?>"/>
<img src="<?php echo Yii::app()->homeUrl.'myfiles/import/2.png';?>"/>
</div><!-- form -->