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

37 lines
1.5 KiB
PHP
Raw Normal View History

2023-06-01 06:19:33 +00:00
<x-layout-simple>
2023-06-01 10:15:33 +00:00
<div class="flex items-center justify-center h-screen">
2023-06-01 06:19:33 +00:00
<div>
2023-06-01 10:15:33 +00:00
<div class="flex flex-col items-center pb-8">
<div class="text-5xl font-bold tracking-tight text-center text-white">Coolify</div>
<x-version />
</div>
2023-06-01 06:19:33 +00:00
<div class="flex items-center gap-2">
2023-06-02 10:34:45 +00:00
<h1>{{ __('auth.forgot_password') }}</h1>
2023-06-01 06:19:33 +00:00
</div>
<div class="w-96">
2023-06-12 13:47:42 +00:00
@if (is_transactional_emails_active())
<form action="/forgot-password" method="POST" class="flex flex-col gap-2">
@csrf
<x-forms.input required value="test@example.com" type="email" name="email"
label="{{ __('input.email') }}" autofocus />
<x-forms.button type="submit">{{ __('auth.forgot_password_send_email') }}</x-forms.button>
</form>
@else
'asd'
@endif
2023-06-01 10:15:33 +00:00
@if ($errors->any())
2023-06-12 13:47:42 +00:00
<div class="text-xs text-center text-error">
2023-06-01 10:15:33 +00:00
<span>{{ __('auth.failed') }}</span>
</div>
@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>
@endif
2023-06-01 06:19:33 +00:00
</div>
</div>
2023-06-01 10:15:33 +00:00
</div>
2023-06-01 06:19:33 +00:00
</x-layout-simple>