You've already forked Atomcms-edit
69 lines
2.4 KiB
PHP
Executable File
69 lines
2.4 KiB
PHP
Executable File
<x-app-layout>
|
|
@push('title', __('Password settings'))
|
|
|
|
<div class="col-span-12 flex flex-col gap-y-3 md:col-span-3">
|
|
<x-user.settings.settings-navigation />
|
|
</div>
|
|
|
|
<div class="col-span-12 flex flex-col gap-y-3 md:col-span-9">
|
|
<x-content.content-card icon="hotel-icon">
|
|
<x-slot:title>
|
|
{{ __('Password settings') }}
|
|
</x-slot:title>
|
|
|
|
<x-slot:under-title>
|
|
{{ __('Change your password by filling out the fields below') }}
|
|
</x-slot:under-title>
|
|
|
|
<form action="{{ route('settings.password.update') }}" method="POST" class="flex flex-col gap-y-4">
|
|
@method('PUT')
|
|
@csrf
|
|
|
|
<div class="flex flex-col gap-y-1">
|
|
<x-form.label for="current_password">
|
|
{{ __('Current password') }}
|
|
|
|
<x-slot:info>
|
|
{{ __('Enter your current password') }}
|
|
</x-slot:info>
|
|
</x-form.label>
|
|
|
|
<x-form.input name="current_password" type="password" :autofocus="true" />
|
|
</div>
|
|
|
|
<div class="flex flex-col gap-y-1">
|
|
<x-form.label for="password">
|
|
{{ __('New password') }}
|
|
|
|
<x-slot:info>
|
|
{{ __('Enter a new secure password. Do not forget to save it somewhere safe') }}
|
|
</x-slot:info>
|
|
</x-form.label>
|
|
|
|
<x-form.input name="password" type="password" />
|
|
</div>
|
|
|
|
<div class="flex flex-col gap-y-1">
|
|
<x-form.label for="password_confirmation">
|
|
{{ __('Confirm new password') }}
|
|
|
|
<x-slot:info>
|
|
{{ __('Please confirm your new password') }}
|
|
</x-slot:info>
|
|
</x-form.label>
|
|
|
|
<x-form.input name="password_confirmation" type="password" />
|
|
</div>
|
|
|
|
<x-site-captchas />
|
|
|
|
<div class="flex w-full justify-start md:justify-end">
|
|
<x-form.secondary-button classes="lg:w-1/4">
|
|
{{ __('Update password') }}
|
|
</x-form.secondary-button>
|
|
</div>
|
|
</form>
|
|
</x-content.content-card>
|
|
</div>
|
|
</x-app-layout>
|