@extends('admin.layouts.app')

@section('title', 'Edit Role')
@section('subtitle', 'Update the access level label and check exactly which sections and actions this role can use.')

@section('content')
    <form action="{{ route('admin.roles.update', $role) }}" method="POST" class="admin-grid">
        @csrf
        @method('PUT')

        @include('admin.roles.partials.form', [
            'submitLabel' => 'Save role',
            'role' => $role,
        ])
    </form>
@endsection
