- Replaced deprecated `flux` components with `maryUI` counterparts (`flux:input` → `x-mary-input`, `flux:button` → `x-mary-button`, etc.). - Removed unused partials (`settings-heading.blade.php`) and outdated structures from Blade files. - Adjusted Livewire modal, form, and button implementations for consistency with `maryUI`. - Streamlined layout and theme styling for improved maintainability and readability.
34 lines
1.3 KiB
PHP
34 lines
1.3 KiB
PHP
<x-layouts::auth :title="__('Forgot password')">
|
|
<div class="flex flex-col gap-6">
|
|
<x-auth-header :title="__('Forgot password')"
|
|
:description="__('Enter your email to receive a password reset link')"/>
|
|
|
|
<!-- Session Status -->
|
|
<x-auth-session-status class="text-center" :status="session('status')"/>
|
|
|
|
<form method="POST" action="{{ route('password.email') }}" class="flex flex-col gap-6">
|
|
@csrf
|
|
|
|
<!-- Email Address -->
|
|
<x-mary-input
|
|
name="email"
|
|
:label="__('Email address')"
|
|
type="email"
|
|
required
|
|
autofocus
|
|
placeholder="email@example.com"
|
|
/>
|
|
|
|
<x-mary-button type="submit" class="w-full btn-primary" data-test="email-password-reset-link-button">
|
|
{{ __('Email password reset link') }}
|
|
</x-mary-button>
|
|
</form>
|
|
|
|
<div class="space-x-1 rtl:space-x-reverse text-center text-sm text-zinc-400">
|
|
<span>{{ __('Or, return to') }}</span>
|
|
<a class="font-bold text-gray-900 hover:text-blue-500" href="{{route('login')}}"
|
|
wire:navigate>{{ __('log in') }}</a>
|
|
</div>
|
|
</div>
|
|
</x-layouts::auth>
|