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

14 lines
572 B
PHP
Raw Normal View History

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