@extends('back.layout.auth-layout')
@section('pageTitle', isset($pageTitle) ? $pageTitle : 'Page Title Here')
@section('content')

<div class="login-box bg-white box-shadow border-radius-10">
							<div class="login-title">
								<h2 class="text-center text-primary">Reset Password</h2>
							</div>
							<h6 class="mb-20">Enter your new password, confirm and submit</h6>
							<form action="{{ route('admin.reset_password_handler',['token'=>$token]) }}" method="POST">
                                <x-form-alerts></x-form-alerts>
                                @csrf
								<div class="input-group custom mb-1">
									<input type="text" class="form-control form-control-lg" placeholder="New Password" name="new_password">
									<div class="input-group-append custom">
										<span class="input-group-text"><i class="dw dw-padlock1"></i></span>
									</div>
								</div>
                                @error('new_password')
                                <span class="text-danger ml-1">{{ $message }}</span>
                                @enderror
								<div class="input-group custom mb-1 mt-3">
									<input type="text" class="form-control form-control-lg" placeholder="Confirm New Password" name="new_password_confirmation">
									<div class="input-group-append custom">
										<span class="input-group-text"><i class="dw dw-padlock1"></i></span>
									</div>
								</div>
                                @error('new_password_confirmation')
                                <span class="text-danger ml-1">{{ $message }}</span>
                                @enderror
								<div class="row align-items-center">
									<div class="col-5">
										<div class="input-group mb-0">
											<input class="btn btn-primary btn-lg btn-block mt-3" type="submit" value="Submit">
										</div>
									</div>
								</div>
							</form>
						</div>

@endsection