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

@ -371,7 +371,7 @@
</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,18 +418,15 @@ 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 --}}
</form> <div class="form-footer" style="margin: 28px -24px -28px; border-radius: 0 0 18px 18px;">
</div>
<div class="form-footer">
<a href="{{ route('admin.guru.index') }}" class="btn-cancel"> <a href="{{ route('admin.guru.index') }}" class="btn-cancel">
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"> <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"/> <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/>
</svg> </svg>
Batalkan Batalkan
</a> </a>
<button type="submit" form="formEditGuru" class="btn-update" id="btnUpdate"> <button type="submit" class="btn-update">
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"> <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"/> <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/>
</svg> </svg>
@ -437,6 +434,12 @@ class="form-control" placeholder="Masukkan alamat lengkap">
</button> </button>
</div> </div>
</form>
</div>
{{-- HAPUS .form-footer yang lama di luar form --}}
</div> </div>
</div> </div>