LAR_Maintenance/resources/views/task/index.blade.php

14 lines
524 B
PHP
Raw Permalink Normal View History

2024-08-06 06:31:51 +00:00
<x-layout-app>
<div class="container-xl">
<div class="page-header">
2024-08-06 09:02:45 +00:00
<h1>{{ __('boilerplate::task.title') }}</h1>
2024-08-06 06:31:51 +00:00
2024-08-06 09:02:45 +00:00
<button class="btn btn-primary" onclick="Livewire.dispatch('openModal', {livewireComponents: 'task.form', title: '{{ __('boilerplate::task.create') }}'})">
2024-08-06 06:31:51 +00:00
<i class="me-2 fas fa-plus"></i><span>{{ __('boilerplate::ui.add') }}</span>
</button>
</div>
2024-08-06 09:02:45 +00:00
@livewire('task.data-table', [], key('data-table'))
2024-08-06 06:31:51 +00:00
</div>
</x-layout-app>