Skip to content

Commit

Permalink
Fix bulk deletion of tags and lists (#897)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kovah committed Feb 6, 2025
1 parent b3e0f65 commit b1d949c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/models/lists/bulk-edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<form action="{{ route('bulk-edit.delete') }}" method="POST" class="card mt-4">
@csrf
<input type="hidden" name="type" value="links">
<input type="hidden" name="type" value="lists">
<input type="hidden" name="models" value="{{ implode(',', $models) }}">
<header class="card-header">@choice('list.delete', $modelCount)</header>
<div class="card-body">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/models/tags/bulk-edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<form action="{{ route('bulk-edit.delete') }}" method="POST" class="card mt-4">
@csrf
<input type="hidden" name="type" value="links">
<input type="hidden" name="type" value="tags">
<input type="hidden" name="models" value="{{ implode(',', $models) }}">
<header class="card-header">@choice('tag.delete', $modelCount)</header>
<div class="card-body">
Expand Down

0 comments on commit b1d949c

Please sign in to comment.