Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $c = $this;
- /**
- * @var Controller $c
- * @var User $user
- */
- ?>
- <h1 class="mr"><?=i18n::t('registration')?></h1>
- <?=
- CHtml::beginForm(
- Url::create('auth/authenticate'), 'post', array('id' => 'signUpForm')
- ) ?>
- <h4><?=i18n::t('username')?></h4>
- <?=
- CHtml::activeTextField(
- $user, 'login', array('required' => 'required', 'autocomplete' => 'on', 'class' => 'form-input-l')
- ) ?>
- <h4><?=i18n::t('e-mail')?></h4>
- <?=
- CHtml::activeTextField(
- $user, 'email', array('required' => 'required', 'autocomplete' => 'on', 'class' => 'form-input-l')
- ) ?>
- <h4><?=i18n::t('password')?></h4>
- <?=
- CHtml::activePasswordField(
- $user, 'password', array('required' => 'required', 'value' => '', 'class' => 'form-input-l')
- ) ?>
- <?=
- CHtml::button(
- i18n::t('sign up'), array('class' => 'form-button-l', 'id' => 'signUpFormSubmit', 'style' => 'width:100%')
- ) ?>
- <?= CHtml::endForm() ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement