vito/resources/views/auth/reset-password.blade.php
Saeed Vaziry b2083fc6b2
Migrate to HTMX (#114)
Dropped Livewire
Added HTMX
Added Blade code lint
Drop Mysql and Redis
Migrate to SQLite
2024-03-06 17:02:59 +01:00

61 lines
1.9 KiB
PHP

<x-guest-layout>
<form method="POST" action="{{ route("password.update") }}">
@csrf
<!-- Password Reset Token -->
<input type="hidden" name="token" value="{{ $token }}" />
<!-- Email Address -->
<div>
<x-input-label for="email" :value="__('Email')" />
<x-text-input
id="email"
class="mt-1 block w-full"
type="email"
name="email"
:value="old('email', $email)"
required
autofocus
autocomplete="username"
/>
<x-input-error :messages="$errors->get('email')" class="mt-2" />
</div>
<!-- Password -->
<div class="mt-4">
<x-input-label for="password" :value="__('Password')" />
<x-text-input
id="password"
class="mt-1 block w-full"
type="password"
name="password"
required
autocomplete="new-password"
/>
<x-input-error :messages="$errors->get('password')" class="mt-2" />
</div>
<!-- Confirm Password -->
<div class="mt-4">
<x-input-label for="password_confirmation" :value="__('Confirm Password')" />
<x-text-input
id="password_confirmation"
class="mt-1 block w-full"
type="password"
name="password_confirmation"
required
autocomplete="new-password"
/>
<x-input-error :messages="$errors->get('password_confirmation')" class="mt-2" />
</div>
<div class="mt-4 flex items-center justify-end">
<x-primary-button>
{{ __("Reset Password") }}
</x-primary-button>
</div>
</form>
</x-guest-layout>