Livewire Datatable: include "create" button.
This commit is contained in:
parent
2f53055c80
commit
2382387233
5 changed files with 13 additions and 13 deletions
|
|
@ -1,5 +1,11 @@
|
|||
<div>
|
||||
|
||||
@if ($route_create)
|
||||
<div class="mb-4">
|
||||
<x-button :href="route($route_create)" type="info">{{ __('New') }}</x-button>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<table class="table-auto w-full">
|
||||
|
||||
<tr class="text-left border-b-2">
|
||||
|
|
|
|||
Reference in a new issue