lasthourcloud/resources/views/auth/reset-password.blade.php

38 lines
2.1 KiB
PHP
Raw Normal View History

2023-06-01 10:15:33 +00:00
<x-layout-simple>
<section class="bg-gray-50 dark:bg-base">
<div class="flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0">
<a class="flex items-center text-5xl font-extrabold tracking-tight text-gray-900 dark:text-white">
2024-07-25 20:07:01 +00:00
Last Hour
</a>
<div class="flex items-center justify-center pb-6 text-center">
{{ __('auth.reset_password') }}
2023-06-01 10:15:33 +00:00
</div>
<div class="w-full bg-white shadow md:mt-0 sm:max-w-md xl:p-0 dark:bg-base ">
<div class="p-6 space-y-4 md:space-y-6 sm:p-8">
<form action="/reset-password" method="POST" class="flex flex-col gap-2">
@csrf
<input hidden id="token" name="token" value="{{ request()->route('token') }}">
2024-07-25 20:07:01 +00:00
<input hidden value="{{ request()->query('email') }}" type="email" name="email" label="{{ __('input.email') }}" />
<div class="flex flex-col gap-2">
2024-07-25 20:07:01 +00:00
<x-forms.input required type="password" id="password" name="password" label="{{ __('input.password') }}" autofocus />
<x-forms.input required type="password" id="password_confirmation" name="password_confirmation" label="{{ __('input.password.again') }}" />
</div>
<x-forms.button type="submit">{{ __('auth.reset_password') }}</x-forms.button>
</form>
@if ($errors->any())
2024-07-25 20:07:01 +00:00
<div class="text-xs text-center text-error">
@foreach ($errors->all() as $error)
<p>{{ $error }}</p>
@endforeach
</div>
@endif
@if (session('status'))
2024-07-25 20:07:01 +00:00
<div class="mb-4 font-medium text-green-600">
{{ session('status') }}
</div>
@endif
</div>
2023-06-01 10:15:33 +00:00
</div>
</div>
</section>
2024-07-25 20:07:01 +00:00
</x-layout-simple>