41 lines
2.4 KiB
PHP
41 lines
2.4 KiB
PHP
@extends('layouts.auth')
|
|
|
|
@section('content')
|
|
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0">
|
|
<div class="w-full sm:max-w-md mt-6 px-6 py-4 bg-white shadow-md overflow-hidden sm:rounded-lg">
|
|
<h2 class="text-2xl font-bold text-[#8B0000] mb-4 text-center">Reset Password</h2>
|
|
<p class="text-sm text-gray-600 mb-6 text-center">Silakan masukkan password baru Anda untuk email: <br><strong>{{ $email }}</strong></p>
|
|
|
|
<form method="POST" action="{{ route('password.update') }}">
|
|
@csrf
|
|
|
|
<input type="hidden" name="token" value="{{ $token }}">
|
|
<input type="hidden" name="email" value="{{ $email }}">
|
|
|
|
<!-- Password -->
|
|
<div class="mt-4">
|
|
<label for="password" class="block font-medium text-sm text-gray-700">Password Baru</label>
|
|
<input id="password" class="block mt-1 w-full rounded-md shadow-sm border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50" type="password" name="password" required autofocus>
|
|
@error('password')
|
|
<p class="mt-2 text-sm text-red-600">{{ $message }}</p>
|
|
@enderror
|
|
</div>
|
|
|
|
<!-- Confirm Password -->
|
|
<div class="mt-4">
|
|
<label for="password_confirmation" class="block font-medium text-sm text-gray-700">Konfirmasi Password Baru</label>
|
|
<input id="password_confirmation" class="block mt-1 w-full rounded-md shadow-sm border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50" type="password" name="password_confirmation" required>
|
|
</div>
|
|
|
|
<div class="flex items-center justify-between mt-4">
|
|
<a href="{{ route('login') }}" class="text-sm text-gray-600 hover:text-gray-900">
|
|
<i class="fas fa-arrow-left mr-1"></i> Kembali ke Login
|
|
</a>
|
|
<button type="submit" class="inline-flex items-center px-4 py-2 bg-[#8B0000] border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-[#660000] focus:outline-none focus:border-[#8B0000] focus:ring ring-[#8B0000]/50 disabled:opacity-25 transition ease-in-out duration-150">
|
|
{{ __('Reset Password') }}
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
@endsection
|