Advertisement
Guest User

Untitled

a guest
Jun 1st, 2012
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.90 KB | None | 0 0
  1. <?
  2. $c = $this;
  3. /**
  4.  * @var Controller $c
  5.  * @var User       $user
  6.  */
  7. ?>
  8.  
  9. <h1 class="mr"><?=i18n::t('registration')?></h1>
  10. <?=
  11. CHtml::beginForm(
  12.     Url::create('auth/authenticate'), 'post', array('id' => 'signUpForm')
  13. ) ?>
  14. <h4><?=i18n::t('username')?></h4>
  15. <?=
  16. CHtml::activeTextField(
  17.     $user, 'login', array('required' => 'required', 'autocomplete' => 'on', 'class' => 'form-input-l')
  18. ) ?>
  19. <h4><?=i18n::t('e-mail')?></h4>
  20. <?=
  21. CHtml::activeTextField(
  22.     $user, 'email', array('required' => 'required', 'autocomplete' => 'on', 'class' => 'form-input-l')
  23. ) ?>
  24. <h4><?=i18n::t('password')?></h4>
  25. <?=
  26. CHtml::activePasswordField(
  27.     $user, 'password', array('required' => 'required', 'value' => '', 'class' => 'form-input-l')
  28. ) ?>
  29. <?=
  30. CHtml::button(
  31.     i18n::t('sign up'), array('class' => 'form-button-l', 'id' => 'signUpFormSubmit', 'style' => 'width:100%')
  32. ) ?>
  33.  
  34. <?= CHtml::endForm() ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement