<link href="<?php echo Yii::app()->baseUrl; ?>/css/bootstrap.css" rel="stylesheet">
<div class="main_content">
<div class="innercontent_outerbox">
  <h1>Log In</h1>
  <div class="row">
    <div class="span8">
        <?php $form=$this->beginWidget('CActiveForm', array(
								'id'=>'login',
								//'enableAjaxValidation'=>true,
								//'enableClientValidation'=>true,
							)); ?>
        <?php //echo $form->errorSummary($model); ?>
        <?php
    foreach(Yii::app()->user->getFlashes() as $key => $message) {
        echo '<div class="flash-' . $key . '">' . $message . "</div>\n";
    }
?>
        <table width="100%" border="0" cellspacing="2" cellpadding="2">
          
          <tr>
            <td width="29%">User Name</td>
            <td width="71%"><?php echo $form->textField($model,'company_email_address',array('placeholder'=>'User Name')); ?><?php echo $form->error($model,'company_email_address'); ?></td>
          </tr>
          <tr>
            <td>Password</td>
            <td><?php echo $form->passwordField($model,'password',array('style'=>'top: 215px;')); ?><?php echo $form->error($model,'password'); ?></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td><!--<input name="" type="checkbox" value="" />
              Remember User-->
              <?php echo CHtml::submitButton('Login'); ?></td>
          </tr>
          <tr>
            <td colspan="2" align="center" valign="top"><a href="<?php echo Yii::app()->createUrl('site/forgotpassword'); ?>">Forgot password?</a> &nbsp;&nbsp;<a href="<?php echo Yii::app()->createUrl('site/registration'); ?>">New User?</a></td>
          </tr>
        </table>
        <?php $this->endWidget(); ?>
    </div>
  </div>
</div>
<?php echo $this->renderPartial('_bottom_common_user_product_group'); ?> 