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

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

@section('content')
    <x-daylight::page-header :title="__('Roles')">
        @can('update:advanced-settings')
            <x-daylight::buttons.primary href="{{ route('daylight.settings.roles.create') }}" element="a">
                {{ __('Create new role') }}
            </x-daylight::buttons.primary>
        @endcan
    </x-daylight::page-header>

    <x-daylight::session-messages/>

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