<?php
/* @var $this VigentesActividadController */
/* @var $model VigentesActividad */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'vigentes-actividad-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'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,'fis_codigo'); ?>
		<?php echo $form->textField($model,'fis_codigo'); ?>
		<?php echo $form->error($model,'fis_codigo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fun_rut'); ?>
		<?php echo $form->textField($model,'fun_rut',array('size'=>12,'maxlength'=>12)); ?>
		<?php echo $form->error($model,'fun_rut'); ?>
	</div>

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

	<div class="row">
		<?php echo $form->labelEx($model,'act_vig_rif'); ?>
		<?php echo $form->textField($model,'act_vig_rif',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'act_vig_rif'); ?>
	</div>

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

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

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

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

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

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

	<div class="row">
		<?php echo $form->labelEx($model,'act_vig_formalizado'); ?>
		<?php echo $form->textField($model,'act_vig_formalizado',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'act_vig_formalizado'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'act_vig_pp'); ?>
		<?php echo $form->textField($model,'act_vig_pp',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'act_vig_pp'); ?>
	</div>

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

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

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

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

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

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