@extends('layouts.base')
@section('title', __('Reset password'))
@section('body')
<div class="auth-wrap">
    <div class="mb-card auth-card">
        <h1 class="h4 fw-bold">{{ __('Reset password') }}</h1>
        <form method="POST" action="{{ route('password.update') }}">
            @csrf
            <input type="hidden" name="token" value="{{ $request->route('token') }}">
            <div class="mb-3">
                <label class="form-label">{{ __('Email') }}</label>
                <input type="email" name="email" value="{{ $request->email }}" class="form-control @error('email') is-invalid @enderror" required>
                @error('email')<div class="invalid-feedback">{{ $message }}</div>@enderror
            </div>
            <div class="mb-3">
                <label class="form-label">{{ __('Password') }}</label>
                <input type="password" name="password" class="form-control @error('password') is-invalid @enderror" required>
                @error('password')<div class="invalid-feedback">{{ $message }}</div>@enderror
            </div>
            <div class="mb-3">
                <label class="form-label">{{ __('Confirm password') }}</label>
                <input type="password" name="password_confirmation" class="form-control" required>
            </div>
            <button class="btn mb-btn-primary w-100">{{ __('Reset password') }}</button>
        </form>
    </div>
</div>
@endsection
