| @@ 23-29 (lines=7) @@ | ||
| 20 | <?= $form->field('password', 'password', ['class' => 'form-control'], __('Input you password')); ?> |
|
| 21 | ||
| 22 | <?php |
|
| 23 | if (true === $useCaptcha) { |
|
| 24 | if (\App::$Captcha->isFull()) { |
|
| 25 | echo '<div class="col-md-offset-3 col-md-9">' . \App::$Captcha->get() . '</div>'; |
|
| 26 | } else { |
|
| 27 | echo $form->field('captcha', 'captcha', ['class' => 'form-control'], __('Enter data from security image to prove that you are human. If you can\'t read symbols - click on image to reload')); |
|
| 28 | } |
|
| 29 | } |
|
| 30 | ?> |
|
| 31 | ||
| 32 | <div class="col-md-9 col-md-offset-3"><?= $form->submitButton(__('Do Login'), ['class' => 'btn btn-default']); ?></div> |
|
| @@ 20-24 (lines=5) @@ | ||
| 17 | ||
| 18 | <?= $form->field('email', 'email', ['class' => 'form-control'], __('Input your account email')); ?> |
|
| 19 | <?php |
|
| 20 | if (\App::$Captcha->isFull()) { |
|
| 21 | echo '<div class="col-md-offset-3 col-md-9">' . \App::$Captcha->get() . '</div>'; |
|
| 22 | } else { |
|
| 23 | echo $form->field('captcha', 'captcha', ['class' => 'form-control'], __('Enter data from security image to prove that you are human. If you can\'t read symbols - click on image to reload')); |
|
| 24 | } |
|
| 25 | ?> |
|
| 26 | ||
| 27 | <div class="col-md-9 col-md-offset-3"><?php echo $form->submitButton(__('Make recovery'), ['class' => 'btn btn-default']); ?></div> |
|
| @@ 23-29 (lines=7) @@ | ||
| 20 | <?= $form->field('email', 'text', ['class' => 'form-control'], __('Enter your e-mail for an account')); ?> |
|
| 21 | <?= $form->field('password', 'password', ['class' => 'form-control'], __('Enter a password for your account. It should be longer than 3 characters')); ?> |
|
| 22 | <?= $form->field('repassword', 'password', ['class' => 'form-control'], __('Repeat your password to be sure it correct')); ?> |
|
| 23 | <?php if (true === $useCaptcha) { |
|
| 24 | if (\App::$Captcha->isFull()) { |
|
| 25 | echo '<div class="col-md-offset-3 col-md-9">' . \App::$Captcha->get() . '</div>'; |
|
| 26 | } else { |
|
| 27 | echo $form->field('captcha', 'captcha', ['class' => 'form-control'], __('Enter data from security image to prove that you are human. If you can\'t read symbols - click on image to reload')); |
|
| 28 | } |
|
| 29 | } |
|
| 30 | ?> |
|
| 31 | ||
| 32 | <div class="col-md-9 col-md-offset-3"><?php echo $form->submitButton(__('Register!'), ['class' => 'btn btn-default']); ?></div> |
|