A free open source IT asset/license management system
Fixes incorrect gate for “new” button for status labels on asset create/edit form
sniped6d498bc8f3b
diff --git a/resources/views/partials/forms/edit/status.blade.php b/resources/views/partials/forms/edit/status.blade.phpindex 3fc88188ab..d3457a98b7 100644--- a/resources/views/partials/forms/edit/status.blade.php+++ b/resources/views/partials/forms/edit/status.blade.php@@ -7,7 +7,7 @@</div><div class="col-md-2 col-sm-2 text-left">- @can('index', \App\Models\Statuslabel::class)+ @can('create', \App\Models\Statuslabel::class)<a href='{{ route('modal.statuslabel') }}' data-toggle="modal" data-target="#createModal" data-select='status_select_id' class="btn btn-sm btn-default">New</a>@endcan