<?php
/* @var $this ObservacionController */
/* @var $model Observacion */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'observacion-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,'obs_titulo'); ?>
		<?php echo $form->textField($model,'obs_titulo',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'obs_titulo'); ?>
	</div>

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

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

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

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

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

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

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

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