@extends('layout')
@section('title','Accueil ')
@section('description','Accueil')
@section('content')




	<div class="breadcrumb-area mb-50">
		<div class="container">
			<div class="row">
				
			</div>
		</div>
	</div>

	<!--=====  End of breadcrumb area  ======-->

	<!--=============================================
	=            Login register page content         =
	=============================================-->

	 <div class="page-content mb-50">
		<div class="container">
			<div class="row">
			
				 <div class="col-lg-4 offset-lg-4 col-md-12 ">
				
				@if (session('status'))
                        <div class="alert alert-success" style="font-size: 15px; background-color: #328039; color: white">
                            <i class="ti-check"></i> {{ session('status') }}
                        </div>
                    @endif

                    @if (session('error'))
                        <div class="alert alert-danger" style="font-size: 15px; background-color: #fb5757; color: white">
                            <i class="ti-na"></i> {{ session('error') }}
                        </div>
                    @endif
                    @if ($errors->any())
                        <div class="alert alert-danger" style="font-size: 15px; background-color: #fb5757; color: white" >
                            <ul>
                                @foreach ($errors->all() as $error)
                                    <li> <i class="ti-na"></i> {{ $error }}</li>
                                @endforeach
                            </ul>
                        </div>
                    @endif
				
					<!-- Login Form s-->
					<form action="{{route('resetPost', ['id'=>$iduser])}}" method="post">
                        {{csrf_field()}}
						<div class="login-form">
							
							<div class="row">
								<div class="col-md-12 col-12 mb-20" style="text-align:center">
									
								<img src="{{asset('storage/'.$info_logo)}}" alt="logo" style="height: 50px" alt="">

								</div>
								
								</br>
								
								<div class="col-12 mb-20">
									<label>{{ __('messages.nmp') }}</label>
									<input class="mb-0" type="password" name="newpassword" placeholder="{{ __('messages.pnmp') }}" required>
								</div>
                                <div class="col-12 mb-20">
									<label>{{ __('messages.cmdp') }}</label>
									<input class="mb-0" type="password" name="confirmpass" placeholder="{{ __('messages.cmdp') }}" required>
								</div>								
								</br>

								<div class="col-md-12">
									<button type="submit" class="register-button mt-0"  style="width:100%;">{{ __('messages.modin') }}</button>
								</div>

							
						</div>
						</div>

					</form>
				</div>
				
			</div>
		</div>
	</div>






@push('scripts')
	
@endpush

@endsection