收口后台表单确认事件

This commit is contained in:
2026-04-25 13:31:18 +08:00
parent 90d2fcc14a
commit 4352919889
10 changed files with 38 additions and 8 deletions
@@ -132,7 +132,7 @@
</div>
@elseif ($m->status === 'pending')
<form action="{{ route('admin.marriages.cancel-proposal', $m->id) }}" method="POST"
onsubmit="return confirm('确定取消该求婚吗?')">
data-admin-confirm="确定取消该求婚吗?">
@csrf
<button type="submit"
class="text-xs bg-amber-50 text-amber-600 font-bold px-3 py-1.5 rounded hover:bg-amber-600 hover:text-white transition">