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

42 lines
1.9 KiB
PHP
Raw Normal View History

2023-06-01 10:15:33 +00:00
<x-layout-simple>
2023-08-15 12:11:38 +00:00
<div class="min-h-screen hero">
2023-06-01 10:15:33 +00:00
<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-06-01 10:15:33 +00:00
</div>
2023-08-15 12:11:38 +00:00
<div class="flex items-center justify-center pb-4 text-center">
<h2>{{ __('auth.reset_password') }}</h2>
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') }}">
2023-06-01 10:15:33 +00:00
<input hidden value="{{ request()->query('email') }}" type="email" name="email"
2023-08-11 18:19:42 +00:00
label="{{ __('input.email') }}" />
2023-08-15 12:11:38 +00:00
<div class="flex flex-col gap-2">
2023-06-01 10:15:33 +00:00
<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())
2023-09-10 13:33:00 +00:00
<div class="text-xs text-center text-error">
@foreach ($errors->all() as $error)
<p>{{ $error }}</p>
@endforeach
2023-06-01 10:15:33 +00:00
</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>