blob: b54c5f6c304f4955434ec64e1ac9b1b8c756ffa8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>Forgot Password - Teacher Journal</title>
<link rel="stylesheet" href="{{ asset('css/common.css') }}">
<link rel="stylesheet" href="{{ asset('css/auth.css') }}">
</head>
<body>
<div class="auth-container">
<h1>Forgot Password</h1>
<p>Enter your email address and we'll send you a link to reset your password.</p>
@if(session('success'))
<div class="success">{{ session('success') }}</div>
@endif
@if($errors->any())
<div class="error">
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
</div>
@endif
<form method="POST" action="{{ route('password.email') }}">
@csrf
<label for="email">Email</label>
<input type="email" id="email" name="email" value="{{ old('email') }}" required>
<button type="submit">Send Reset Link</button>
</form>
<p><a href="{{ route('login') }}">← Back to Login</a></p>
</div>
</body>
</html>
|