26 lines
1.3 KiB
PHP
26 lines
1.3 KiB
PHP
<x-layouts.app title="Ubah kata sandi">
|
|
<x-ui.page-header
|
|
title="Ubah kata sandi"
|
|
description="Masukkan kata sandi saat ini, lalu kata sandi baru Anda."
|
|
:breadcrumbs="['Profil saya' => route('akun.profil'), 'Ubah kata sandi' => null]"
|
|
/>
|
|
|
|
<form method="POST" action="{{ route('akun.password.update') }}" class="stack" novalidate>
|
|
@csrf
|
|
@method('PUT')
|
|
|
|
<x-glass.panel padding="lg">
|
|
<x-form.section title="Kata sandi" description="Minimal 8 karakter, mengandung huruf dan angka." :columns="1">
|
|
<x-form.field name="current_password" label="Kata sandi saat ini" type="password" autocomplete="current-password" required />
|
|
<x-form.field name="password" label="Kata sandi baru" type="password" autocomplete="new-password" required />
|
|
<x-form.field name="password_confirmation" label="Ulangi kata sandi baru" type="password" autocomplete="new-password" required />
|
|
</x-form.section>
|
|
</x-glass.panel>
|
|
|
|
<x-form.actions>
|
|
<x-ui.button type="submit" icon="check">Simpan kata sandi</x-ui.button>
|
|
<x-ui.button variant="secondary" :href="route('akun.profil')">Batal</x-ui.button>
|
|
</x-form.actions>
|
|
</form>
|
|
</x-layouts.app>
|