Current path: home/webdevt/cryptoimpot.fr/module/User/view/user/auth/
?? Go up: /home/webdevt/cryptoimpot.fr/module/User/view/user
<!-- iCheck -->
<?php $this->headScript()->appendFile($this->basePath() . '/adminlte/plugins/iCheck/icheck.min.js', 'text/javascript'); ?>
<script>
$(function () {
$('input').iCheck({
checkboxClass: 'icheckbox_square-blue',
radioClass: 'iradio_square-blue',
increaseArea: '20%' // optional
});
});
</script>
<!-- iCheck -->
<?php
$this->headLink()->appendStylesheet('/adminlte/plugins/iCheck/square/blue.css'); ?>
<?php $this->inlineScript()->prependFile($this->basePath() . '/js/module-utilisateur/email-generation.js'); ?>
<?php
$this->headTitle('Se connecter');
$this->mainMenu()->setActiveItemId('login');
$form->get('email')->setAttributes([
'class' => 'form-control form-control-lg',
'id' => 'identity',
'placeholder' => 'Adresse email',
'required' => true,
'autofocus' => true
])
->setLabelAttributes([
'class' => 'sr-only'
]);
// ->setAttributes([
// 'class' => 'form-control form-control-lg',
// 'id' => 'identity',
// 'placeholder', 'Votre email',
// 'required' => true,
// //'autofocus' => true
// ])
// ->setLabelAttributes([
// 'class' => 'sr-only'
// ])
;
$form->get('password')->setAttributes([
'class' => 'form-control form-control-lg',
'id' => 'credential',
'placeholder' => 'Votre mot de passe',
'required' => true,
])
// ->setLabelAttributes([
// 'class' => 'sr-only'
// ])
;
$form->get('remember_me')->setAttributes([
'class' => 'form-check-input',
])
->setLabel('Rester connecté')
->setLabelAttributes([
'class' => 'form-check-label']);
?>
<div class="container" style="background-color: #fff">
<div class="row justify-content-center align-items-center mt-5 mb-3" style="background-color: #fff">
<div class="col col-sm-12" style="background-color: #fff">
<h2 class="text-center">Se connecter à Ledgio</h2>
</div>
</div>
<?php //$messages = $form->getMessages(); ?>
<?php //if ($messages) : ?>
<!-- <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.
<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" style="background-color: #fff">
<div class="col col-sm-12 col-md-4 col-md-offset-4" style="background-color: #fff">
<?php echo $this->form()->openTag($form) ?>
<!--Email-->
<div class="form-group <?php echo ($this->formElementErrors($form->get('email'))) ? ' has-error' : '' ?>">
<div><?php echo $this->formElement($form->get('email')); ?></div>
</div>
<!--./ Email-->
<!-- Password -->
<div class="form-group<?php echo ($this->formElementErrors($form->get('password'))) ? ' has-error' : '' ?>">
<div><?php echo $this->formElement($form->get('password')); ?></div>
</div>
<!--./ Password -->
<div class="row">
<div class="col-lg-4 form-check">
<label><?php echo $this->FormElement($form->get('remember_me')); ?> Rester connecté</label><?php //echo $this->formLabel($form->get('remember_me')) ?>
</div>
<?php // $this->formElement($form->get('redirect_url')); ?>
<?php echo $this->formElement($form->get('csrf')) ?>
<div class="col-lg-8">
<?php echo $this->formButton($form->get('submit')) ?>
</div>
</div>
<div class="row mt-3">
<div class="col-lg-12 text-center">
<a class="forgot-password-link" href="<?php echo $this->url('reset-password') ?>"><?= $this->translate('Mot de passe oublié ?') ?></a>
<a class="register-link" href="<?php echo $this->url('register') ?>"><?= $this->translate('Pas encore de compte ?') ?></a>
</div>
</div>
<?php echo $this->form()->closeTag() ?>
</div>
</div>
</div>