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

Размер файла: 869B
<?php
$this->pageHeader = $this->pageTitle = Yii::t('Users', 'Filling name');
?>
<div class="text">
	<?= Yii::t('Users', 'Before you get full access to the site, type your first name, last name and patronymic (if you have it).') ?>
</div>

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

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

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

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

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

<div class="blue_block">
	<?= CHtml::submitButton(Yii::t('Users', 'Save my name')) ?>
</div>

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