收口后台删除确认事件
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
编辑
|
||||
</button>
|
||||
<form action="{{ route('admin.fishing.destroy', $event->id) }}" method="POST"
|
||||
class="inline" onsubmit="return confirm('确定删除事件「{{ $event->name }}」?')">
|
||||
class="inline" data-fishing-delete-confirm="确定删除事件「{{ $event->name }}」?">
|
||||
@csrf @method('DELETE')
|
||||
<button type="submit"
|
||||
class="px-3 py-1 bg-red-50 text-red-600 rounded text-xs font-bold hover:bg-red-100 transition">
|
||||
|
||||
Reference in New Issue
Block a user