Perbaikan

This commit is contained in:
Ryfandii 2026-05-20 21:57:28 +07:00
parent 35dbce8885
commit 21f0229058
1 changed files with 20 additions and 17 deletions

View File

@ -370,8 +370,8 @@
<span class="form-card-header-label">Informasi Data Guru</span> <span class="form-card-header-label">Informasi Data Guru</span>
</div> </div>
<div class="form-card-body"> <div class="form-card-body">
<form action="{{ route('admin.guru.update', $guru->id) }}" method="POST"> <form id="formEditGuru" action="{{ route('admin.guru.update', $guru->id) }}" method="POST">
@csrf @csrf
@method('PUT') @method('PUT')
@ -418,24 +418,27 @@ class="form-control" placeholder="Contoh: 081234567890">
class="form-control" placeholder="Masukkan alamat lengkap"> class="form-control" placeholder="Masukkan alamat lengkap">
</div> </div>
{{-- Tombol di dalam form, sebelum </form> --}} {{-- FOOTER ADA DI DALAM FORM --}}
<div class="form-footer" style="margin: 28px -24px -28px; border-radius: 0 0 18px 18px;">
<a href="{{ route('admin.guru.index') }}" class="btn-cancel">
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/>
</svg>
Batalkan
</a>
<button type="submit" class="btn-update">
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/>
</svg>
Simpan Perubahan
</button>
</div>
</form> </form>
</div> </div>
<div class="form-footer"> {{-- HAPUS .form-footer yang lama di luar form --}}
<a href="{{ route('admin.guru.index') }}" class="btn-cancel">
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/>
</svg>
Batalkan
</a>
<button type="submit" form="formEditGuru" class="btn-update" id="btnUpdate">
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/>
</svg>
Simpan Perubahan
</button>
</div>
</div> </div>