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

@section('title', __('Question categories'))

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

    <x-daylight::session-messages/>

    <livewire:daylight::question-category-table/>
@endsection
