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

41 lines
1.9 KiB
PHP
Raw Normal View History

2023-06-01 10:15:33 +00:00
<x-layout-simple>
<div class="flex items-center justify-center h-screen mx-auto">
<div>
<div class="flex flex-col items-center pb-8">
2023-06-13 06:47:14 +00:00
<a href="{{ route('dashboard') }}">
<div class="text-5xl font-bold tracking-tight text-center text-white">Coolify</div>
</a>
2023-08-11 18:19:42 +00:00
<x-version />
2023-06-01 10:15:33 +00:00
</div>
<div class="flex items-center gap-2">
2023-06-02 10:34:45 +00:00
<h1>{{ __('auth.reset_password') }}</h1>
2023-06-01 10:15:33 +00:00
</div>
<div>
<form action="/reset-password" method="POST" class="flex flex-col gap-2">
@csrf
<input hidden id="token" name="token" value="{{ request()->route('token') }}">
<input hidden value="{{ request()->query('email') }}" type="email" name="email"
2023-08-11 18:19:42 +00:00
label="{{ __('input.email') }}" />
2023-06-01 10:15:33 +00:00
<div class="flex gap-2">
<x-forms.input required type="password" id="password" name="password"
2023-08-11 18:19:42 +00:00
label="{{ __('input.password') }}" autofocus />
2023-06-01 10:15:33 +00:00
<x-forms.input required type="password" id="password_confirmation" name="password_confirmation"
2023-08-11 18:19:42 +00:00
label="{{ __('input.password.again') }}" />
2023-06-01 10:15:33 +00:00
</div>
<x-forms.button type="submit">{{ __('auth.reset_password') }}</x-forms.button>
</form>
@if ($errors->any())
<div class="text-center text-error">
<span>{{ __('auth.failed') }}</span>
</div>
@endif
@if (session('status'))
2023-08-11 18:19:42 +00:00
<div class="mb-4 font-medium text-green-600">
2023-06-01 10:15:33 +00:00
{{ session('status') }}
</div>
@endif
</div>
</div>
</div>
</x-layout-simple>