@extends('layouts.app') @section('title', $title = __('forms.EditRecord', ['record' => $connection->name])) @section('content')
@csrf @method('PATCH')

{{ __('forms.AccessList') }}

@include('shared.button', ['type' => 'ClickURL', 'color' => 'blue', 'label' => __('forms.AddRule'), 'function' => 'AddRule()', 'icon' => 'bi-plus-circle-fill'])
    @forelse($connection->Permissions() as $acl)
  • @include('shared.button', ['type' => 'ClickURL', 'color' => 'red', 'label' => __('forms.remove'), 'function' => '$(this).parent().parent().remove();', 'icon' => 'bi-trash3-fill'])
  • @empty
  • @include('shared.button', ['type' => 'ClickURL', 'color' => 'red', 'label' => __('forms.remove'), 'function' => '$(this).parent().parent().remove();', 'icon' => 'bi-trash3-fill'])
  • @endforelse
@endsection