<?php
/* @var $this HrdMDutyLetterController */
/* @var $model HrdMDutyLetter */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'hrd-mduty-letter-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,'request_id'); ?>
		<?php echo $form->textField($model,'request_id'); ?>
		<?php echo $form->error($model,'request_id'); ?>
	</div>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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