?> <?php echo $form->passwordField($model, 'confirmPassword', array('size' => 60, 'maxlength' => 80, 'class' => 'form-control')); ?> <?php echo $form->error($model, 'confirmPassword'); ?> </div> <div class="clearfix"></div> <div class="col-md-6"> <?php echo $form->labelEx($model, 'trang_thai'); ?> <?php echo $form->dropDownList($model, 'trang_thai', Quantrivien::getTypeAdminStatus(), array('class' => 'form-control')); ?> <?php echo $form->error($model, 'trang_thai'); ?> </div> <div class="clearfix"></div> <div class="col-md-6"> <strong>Phân quyền quản trị:</strong><br/><br/> <?php $roles = Quyenquantri::getAllRole(); foreach ($roles as $role) { $find = false; foreach ($phanQuyen as $quyen) { if ($role->ma_quyen == $quyen->ma_quyen) { $find = true;