@extends('daylight::layouts.app')

@section('title', __('Products'))

@section('content')
    <x-daylight::page-header :title="__('Products')">
        @can('create:products')
            <x-daylight::buttons.primary href="{{ route('daylight.store.products.create') }}" element="a">
                {{ __('Create new product') }}
            </x-daylight::buttons.primary>
        @endcan
    </x-daylight::page-header>

    <x-daylight::session-messages />

    <livewire:daylight::product-table/>

@endsection
