<?php
/* @var $this LoketController */
/* @var $model Loket */
/* @var $form CActiveForm */
?>

<div class="form-horizontal">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'loket-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,
)); ?>




 <div class="form-group">
   <label class="col-sm-2 control-label">
    <?php echo $form->labelEx($model,'nama_loket'); ?>
   </label>

   <div class="col-sm-6">
    <?php echo $form->textField($model,'nama_loket',array('size'=>60,'maxlength'=>255,'class'=>'form-control')); ?>
	<?php echo $form->error($model,'nama_loket'); ?>
    </div>
 </div>

 <div class="form-group">
   <label class="col-sm-2 control-label">
    <?php echo $form->labelEx($model,'inisial'); ?>
   </label>

   <div class="col-sm-2">
    <?php echo $form->textField($model,'inisial',array('size'=>60,'maxlength'=>10,'class'=>'form-control','required'=>true)); ?>
  <?php echo $form->error($model,'inisial'); ?>
    </div>
 </div>


 <div class="form-group">
  <label class="col-sm-2 control-label">
                  
  </label>

  <div class="col-sm-6">
  <?php echo CHtml::submitButton($model->isNewRecord ? 'Simpan' : 'Ubah',array('class'=>'btn btn-success btn-xs')); ?>
   </div>
 </div>	

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

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