<div id="formContainer">
  <?php $form=$this->beginWidget('CActiveForm', array(
								'id'=>'login',
								'enableAjaxValidation'=>true,
								'enableClientValidation'=>true,
							)); ?>
    <a href="#" id="flipToRecover" class="flipLink">Forgot?</a>
    <?php echo $form->textField($model,'company_email_address',array('placeholder'=>'User Name')); ?><?php echo $form->error($model,'company_email_address'); ?>
    <?php echo $form->passwordField($model,'password',array('style'=>'top: 215px;')); ?><?php echo $form->error($model,'password'); ?>
    <?php echo CHtml::submitButton('Login'); ?>
  <?php $this->endWidget(); ?>
  <?php $form1=$this->beginWidget('CActiveForm', array(
								'id'=>'recover',
								'enableAjaxValidation'=>true,
								'enableClientValidation'=>true,
								'action'=>Yii::app()->createUrl('site/recover'),
							)); ?>
    <a href="#" id="flipToLogin" class="flipLink">Forgot?</a>
	<?php echo $form1->textField($model,'company_email_address',array('id'=>'recoverEmail','placeholder'=>'Email')); ?>
	<?php echo $form->error($model,'company_email_address'); ?>
    <?php echo CHtml::submitButton('Recover'); ?>
  <?php $this->endWidget(); ?>
</div>