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

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

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

    <x-daylight::session-messages/>

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