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

@section('title', __('daylight::settings.roles'))

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

    <x-daylight::session-messages/>

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