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

41 lines
2.0 KiB
PHP
Raw Permalink Normal View History

2023-06-01 06:19:33 +00:00
<x-layout-simple>
2024-03-27 10:41:14 +00:00
<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 mb-1 text-5xl font-extrabold tracking-tight text-gray-900 dark:text-white">
2024-07-25 20:50:18 +00:00
Last Hour Cloud
2024-07-25 20:07:01 +00:00
</a>
<div class="flex items-center gap-2">
2024-03-27 10:41:14 +00:00
{{ __('auth.forgot_password') }}
2023-06-01 10:15:33 +00:00
</div>
2024-07-25 20:07:01 +00:00
<div class="w-full bg-white shadow md:mt-0 sm:max-w-md xl:p-0 dark:bg-base ">
2024-03-27 10:41:14 +00:00
<div class="p-6 space-y-4 md:space-y-6 sm:p-8">
@if (is_transactional_emails_active())
2023-06-12 13:47:42 +00:00
<form action="/forgot-password" method="POST" class="flex flex-col gap-2">
@csrf
2023-09-28 09:01:00 +00:00
<x-forms.input required type="email" name="email" label="{{ __('input.email') }}" autofocus />
2023-06-12 13:47:42 +00:00
<x-forms.button type="submit">{{ __('auth.forgot_password_send_email') }}</x-forms.button>
</form>
2024-07-25 20:07:01 +00:00
@else
2023-06-12 14:39:48 +00:00
<div>Transactional emails are not active on this instance.</div>
2024-07-25 20:07:01 +00:00
<div>See how to set it in our <a class="dark:text-white" target="_blank" href="{{ config('constants.docs.base_url') }}">docs</a>, or how to
manually reset password.
</div>
2024-07-25 20:07:01 +00:00
@endif
@if ($errors->any())
2023-06-12 13:47:42 +00:00
<div class="text-xs text-center text-error">
2023-09-10 13:33:00 +00:00
@foreach ($errors->all() as $error)
2024-07-25 20:07:01 +00:00
<p>{{ $error }}</p>
2023-09-10 13:33:00 +00:00
@endforeach
2023-06-01 10:15:33 +00:00
</div>
2024-07-25 20:07:01 +00:00
@endif
@if (session('status'))
2023-06-12 13:47:42 +00:00
<div class="mb-4 text-xs font-medium text-green-600">
2023-06-01 10:15:33 +00:00
{{ session('status') }}
</div>
2024-07-25 20:07:01 +00:00
@endif
2024-03-27 10:41:14 +00:00
</div>
2023-06-01 06:19:33 +00:00
</div>
</div>
2024-03-27 10:41:14 +00:00
</section>
2024-07-25 20:07:01 +00:00
</x-layout-simple>