- 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.
53 lines
1.8 KiB
PHP
53 lines
1.8 KiB
PHP
<x-layouts::auth :title="__('Reset password')">
|
|
<div class="flex flex-col gap-6">
|
|
<x-auth-header :title="__('Reset password')" :description="__('Please enter your new password below')"/>
|
|
|
|
<!-- Session Status -->
|
|
<x-auth-session-status class="text-center" :status="session('status')"/>
|
|
|
|
<form method="POST" action="{{ route('password.update') }}" class="flex flex-col gap-6">
|
|
@csrf
|
|
<!-- Token -->
|
|
<input type="hidden" name="token" value="{{ request()->route('token') }}">
|
|
|
|
<!-- Email Address -->
|
|
<x-mary-input
|
|
name="email"
|
|
value="{{ request('email') }}"
|
|
:label="__('Email')"
|
|
type="email"
|
|
required
|
|
autocomplete="email"
|
|
/>
|
|
|
|
<!-- Password -->
|
|
<x-mary-input
|
|
name="password"
|
|
:label="__('Password')"
|
|
type="password"
|
|
required
|
|
autocomplete="new-password"
|
|
:placeholder="__('Password')"
|
|
viewable
|
|
/>
|
|
|
|
<!-- Confirm Password -->
|
|
<x-mary-input
|
|
name="password_confirmation"
|
|
:label="__('Confirm password')"
|
|
type="password"
|
|
required
|
|
autocomplete="new-password"
|
|
:placeholder="__('Confirm password')"
|
|
viewable
|
|
/>
|
|
|
|
<div class="flex items-center justify-end">
|
|
<x-mary-button type="submit" class="w-full btn-primary" data-test="reset-password-button">
|
|
{{ __('Reset password') }}
|
|
</x-mary-button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</x-layouts::auth>
|