<?php
/* @var $this SiteController */

$this->pageTitle = Yii::app()->name;
?>
<div class="head">
    <?php echo CHtml::link('Начать игру', array('site/registration'), array('class' => 'v')); ?>
    <?php echo CHtml::link('Войти', array('site/login'), array('class' => 'r')); ?>
    <div style="clear:both"></div></div>
<div class="telo2">

    <?= CHtml::form(); ?>
    <?php if (CHtml::errorSummary($form)): ?>
        <div class="error_my"><?= $allert . CHtml::errorSummary($form); ?></div></b>
    <?php endif; ?>



<?= CHtml::activeLabel($form, 'login'); ?>
<?= CHtml::activeTextField($form, 'login', array('class' => 'span5')) ?>

<?= CHtml::activeLabel($form, 'password'); ?>
<?= CHtml::activePasswordField($form, 'password', array('class' => 'span5')) ?><br />



<?= CHtml::submitButton('Войти', array('class' => 'btn btn-info btn-xs', 'id' => "submit")); ?>
<?= CHtml::endForm(); ?>
</div>
