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

30 lines
1.2 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">
<div>
<div class="flex flex-col items-center pb-8">
2024-03-02 02:37:31 +00:00
<div class="text-5xl font-bold tracking-tight text-center text-white">Last Hour Cloud</div>
2023-08-11 18:19:42 +00:00
<x-version />
2023-06-01 10:15:33 +00:00
</div>
<div class="w-96">
<form action="/user/confirm-password" method="POST" class="flex flex-col gap-2">
@csrf
2023-09-10 13:33:00 +00:00
<x-forms.input required type="password" name="password" label="{{ __('input.password') }}" autofocus />
2023-06-01 10:15:33 +00:00
<x-forms.button type="submit">{{ __('auth.confirm_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>