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

44 lines
1.9 KiB
PHP
Raw Normal View History

2023-06-01 08:19:33 +02:00
<x-layout-simple>
2023-06-01 12:15:33 +02:00
<div class="flex items-center justify-center h-screen">
2023-06-01 08:19:33 +02:00
<div>
2023-06-01 12:15:33 +02:00
<div class="flex flex-col items-center pb-8">
2023-06-13 08:47:14 +02:00
<a href="{{ route('dashboard') }}">
<div class="text-5xl font-bold tracking-tight text-center text-white">Coolify</div>
</a>
2023-08-11 20:19:42 +02:00
<x-version />
2023-06-01 12:15:33 +02:00
</div>
2023-06-01 08:19:33 +02:00
<div class="flex items-center gap-2">
2023-06-02 12:34:45 +02:00
<h1>{{ __('auth.forgot_password') }}</h1>
2023-06-01 08:19:33 +02:00
</div>
2023-06-12 16:39:48 +02:00
<div>
2023-06-12 15:47:42 +02:00
@if (is_transactional_emails_active())
<form action="/forgot-password" method="POST" class="flex flex-col gap-2">
@csrf
2023-09-28 11:01:00 +02:00
<x-forms.input required type="email" name="email" label="{{ __('input.email') }}" autofocus />
2023-06-12 15:47:42 +02:00
<x-forms.button type="submit">{{ __('auth.forgot_password_send_email') }}</x-forms.button>
</form>
@else
2023-06-12 16:39:48 +02:00
<div>Transactional emails are not active on this instance.</div>
<div>See how to set it in our <a class="text-white" target="_blank"
2023-09-28 11:01:00 +02:00
href="{{ config('constants.docs.base_url') }}">docs</a>, or how to
manually reset password.
</div>
2023-06-12 15:47:42 +02:00
@endif
2023-06-01 12:15:33 +02:00
@if ($errors->any())
2023-06-12 15:47:42 +02:00
<div class="text-xs text-center text-error">
2023-09-10 15:33:00 +02:00
@foreach ($errors->all() as $error)
<p>{{ $error }}</p>
@endforeach
2023-06-01 12:15:33 +02:00
</div>
@endif
@if (session('status'))
2023-06-12 15:47:42 +02:00
<div class="mb-4 text-xs font-medium text-green-600">
2023-06-01 12:15:33 +02:00
{{ session('status') }}
</div>
@endif
2023-06-01 08:19:33 +02:00
</div>
</div>
2023-06-01 12:15:33 +02:00
</div>
2023-06-01 08:19:33 +02:00
</x-layout-simple>