46 lines
2.4 KiB
PHP
46 lines
2.4 KiB
PHP
@extends('theme::layout')
|
|
|
|
@section('title', __('Changement de votre adresse email'))
|
|
|
|
@section('breadcrumb', request()->route()->getName())
|
|
|
|
@section('content')
|
|
<div class="auth-form d-flex flex-column justify-content-center align-items-center w-100 pb-5">
|
|
<h1 class="fs-1 text-primary text-center">{{ __('Changement de votre adresse email') }}</h1>
|
|
<form class="w-100" method="POST" action="{{ route('account.emailSubmit') }}">
|
|
@csrf
|
|
<div class="row">
|
|
<div class="col-12 input-group d-flex justify-content-center py-2">
|
|
<input class="form-control custom-input-password @if ($errors->has('password')) is-invalid @endif" type="password" name="password" id="password"
|
|
placeholder="{{ __('Votre mot de passe actuel') }}*" autocomplete="current-password">
|
|
@php $dataPassword = ['inputId' => 'password']; @endphp
|
|
<span class="btn btn-primary p-0 password-visibility" data-json='@json($dataPassword)'></span>
|
|
</div>
|
|
@foreach ($errors->get('password') as $message)
|
|
<div class="invalid-feedback d-block text-center">{{ $message }}</div>
|
|
@endforeach
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-12 py-2">
|
|
<input class="form-control w-100 mx-auto @if ($errors->has('email')) is-invalid @endif" type="email" name="email"
|
|
placeholder="{{ __('Votre nouvelle adresse email') }}*" autocomplete="email">
|
|
@foreach ($errors->get('email') as $message)
|
|
<div class="invalid-feedback text-center">{{ $message }}</div>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-12 py-2">
|
|
<input class="form-control w-100 mx-auto @if ($errors->has('email_confirmation')) is-invalid @endif" type="email" name="email_confirmation"
|
|
placeholder="{{ __('Confirmez votre nouvelle adresse email') }}*" autocomplete="email-confirm">
|
|
@foreach ($errors->get('email_confirmation') as $message)
|
|
<div class="invalid-feedback text-center">{{ $message }}</div>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
<div class="py-2 text-center">
|
|
<button class="btn btn-primary text-bg-primary w-fit" type="submit">{{ __('Modifier') }}</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
@endsection
|