Current path: home/webdevt/cryptoimpot.fr/module/User/view/user/user/
?? Go up: /home/webdevt/cryptoimpot.fr/module/User/view/user
<?php
$this->headTitle('Réinialiser mon mot de passe');
$form->get('email')->setAttributes([
'class'=>'form-control form-control-lg',
'placeholder'=>'Email'
]);
$form->get('submit')->setAttributes([
'class'=>'btn btn-large btn-primary'
]);
$form->prepare();
?>
<div class="container">
<div class="row justify-content-center align-items-center mt-5 mb-3">
<div class="col col-sm-12">
<h2 class="text-center">Mot de passe oublié</h2>
</div>
</div>
<?php if ($this->formElementErrors($form->get('email'))) : ?>
<div class="row justify-content-center align-items-center mt-5 ">
<div class="col col-sm-12 col-md-6 col-md-offset-3">
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<!--<strong>La connexion a échoué</strong> email ou mot de passe invalide.-->
<h4>Formulaire non valide</h4>
<ul>
<?php if ($this->formElementErrors($form->get('email'))) : ?>
<!-- <li>Email non valide :-->
<?php echo $this->translate($this->formElementErrors($form->get('email'))) ?>
<!--</li>-->
<?php endif ?>
<?php if ($this->formElementErrors($form->get('csrf'))) : ?>
<!--<li>-->
<?php echo $this->translate($this->formElementErrors($form->get('csrf'))) ?>
<!--</li>-->
<?php endif ?>
</ul>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
</div>
</div>
<?php endif ?>
<div class="row justify-content-center align-items-center h-100">
<div class="col col-sm-12 col-md-4 col-md-offset-4">
<?php echo $this->form()->openTag($form) ?>
<!--Email-->
<div class="form-group <?php echo ($this->formElementErrors($form->get('email'))) ? ' has-error' : '' ?>">
<div><?php echo $this->formInput($form->get('email')) ?></div>
</div>
<!--./ Email-->
<?php // $this->formElement($form->get('captcha')); ?>
<!--<p class="hint">Enter the letters above as you see them.</p>-->
<div class="row">
<div class="col">
<?php echo $this->formButton($form->get('submit')) ?>
</div>
</div>
<!--<script src="https://www.google.com/recaptcha/api.js?render=6Lei3q0UAAAAAFKYpVt33JvCvNQnreNYqAgt-IWe"></script>-->
<!-- <script>
grecaptcha.ready(function() {
grecaptcha.execute('6Lei3q0UAAAAAFKYpVt33JvCvNQnreNYqAgt-IWe', {action: 'homepage'}).then(function(token) {
});
});
</script>-->
<?php //echo $this->formElement($form->get('g-recaptcha-response')) ?>
<div class="row mt-3">
<div class="col-lg-12 text-center">
<a class="forgot-password-link" href="<?php echo $this->url('login') ?>"><?= $this->translate('Se connecter') ?></a>
<a class="register-link" href="<?php echo $this->url('register') ?>"><?= $this->translate('Pas encore de compte ?') ?></a>
</div>
</div>
<!-- Csrf -->
<?php echo $this->formHidden($form->get('csrf')) ?>
<!-- ./ Csrf -->
<?php echo $this->form()->closeTag() ?>
</div>
</div>
</div>