Просмотр файла vkclone-0.0.1/protected/modules/users/views/default/registration.php

Размер файла: 829B
<?php
$this->pageHeader = $this->pageTitle = Yii::t('Users', 'Registration');
?>
<div class="text">
	<?= Yii::t('Users', 'If you want to use all possibilities on the site, you need to make an account.') ?>
</div>

<?php $form = $this->beginWidget('CActiveForm') ?>

<?= $form->errorSummary($model, null, null, array('class' => 'danger_alert')) ?>

<div class="text">
	<?= $form->labelEx($model, 'email') ?><br />
	<?= $form->textField($model, 'email') ?>
</div>

<div class="text">
	<?php echo $form->labelEx($model, 'password'); ?><br />
	<?php echo $form->textField($model, 'password'); ?>
</div>

<div class="blue_block">
	<?= CHtml::submitButton(Yii::t('Users', 'Registrate me')); ?>
	<a href="<?= $this->createUrl('login') ?>" class="button"><?= Yii::t('Users', 'Authentication') ?></a>
</div>

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