Files
ratemas/resources/views/auth/reset-password.blade.php
2026-05-26 12:02:16 +08:00

32 lines
1.0 KiB
PHP

@extends('layouts.app')
@section('content')
<main class="page">
<h1>Reset Kata Laluan</h1>
<p class="subtitle">Masukkan password baru untuk akaun anda.</p>
@if ($errors->any())
<div class="error">{{ $errors->first() }}</div>
@endif
<form method="POST" action="{{ route('password.update') }}">
@csrf
<input type="hidden" name="token" value="{{ $token }}">
<label for="email">Emel</label>
<input id="email" type="email" name="email" value="{{ old('email', $email) }}" required autofocus>
<label for="password">Password Baru</label>
<input id="password" type="password" name="password" required>
<label for="password_confirmation">Sahkan Password Baru</label>
<input id="password_confirmation" type="password" name="password_confirmation" required>
<div class="actions">
<button type="submit">Reset Password</button>
</div>
</form>
</main>
@endsection