<?php
/* @var $this ReviewController */
/* @var $model Review */
/* @var $form CActiveForm */
?>


<div class="form-normal form-horizontal clearfix">
    <div class="col-lg-9 col-md-10">

        <?php $form=$this->beginWidget('CActiveForm', array(
         'id'=>'review-form',
         'enableAjaxValidation'=>false,
         'enableClientValidation' => true,
         'clientOptions' => array(
          'validateOnSubmit' => true,
          'afterValidate'=>'js:notificationForm',
      ),
         'errorMessageCssClass' => 'parsley-errors-list filled',
         'htmlOptions' => array('class' => 'form-horizontal', 'role' => 'form','autocomplete'=>'off')
     )); ?>

     <?php echo $form->errorSummary($model, null, null, array('class' => 'alert alert-warning')); ?>


     <div class="form-group">

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

        <div class="col-sm-8">
            <?php echo $form->numberField($model,'value_satu',array('class'=>'form-control','placeholder'=>'Skala ( 10-100 )')); ?>
            <?php echo $form->error($model,'value_satu'); ?>
        </div>

    </div>



    <div class="form-group">

        <div class="col-sm-4 control-label">
            <?php echo $form->labelEx($model,'Sistematika Isi Materi'); ?>
        </div>

        <div class="col-sm-8">
            <?php echo $form->numberField($model,'value_dua',array('class'=>'form-control','placeholder'=>'Skala ( 10-100 )')); ?>
            <?php echo $form->error($model,'value_dua'); ?>
        </div>

    </div>



    <div class="form-group">

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

        <div class="col-sm-8">
            <?php echo $form->numberField($model,'value_tiga',array('class'=>'form-control','placeholder'=>'Skala ( 10-100 )')); ?>
            <?php echo $form->error($model,'value_tiga'); ?>
        </div>

    </div>



    <div class="form-group">

        <div class="col-sm-4 control-label">
            <?php echo $form->labelEx($model,'Etika dalam Presentasi'); ?>
        </div>

        <div class="col-sm-8">
            <?php echo $form->numberField($model,'value_empat',array('class'=>'form-control','placeholder'=>'Skala ( 10-100 )')); ?>
            <?php echo $form->error($model,'value_empat'); ?>
        </div>

    </div>


    <div class="form-group">
        <div class="col-md-12">
            <?php echo CHtml::submitButton($model->isNewRecord ? 'Simpan' : 'Edit', array('class' => 'btn btn-info btn-flat pull-right')); ?>
        </div>
    </div>

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

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