@if(isset($role)) @method('PUT') @endif
@error('name') {{$message}} @enderror
@error('deskripsi_fungsi') {{$message}} @enderror
@error('function') {{$message}} @enderror
@error('method') {{$message}} @enderror
{{-- $table->text('headers')->nullable(); $table->text('body')->nullable(); $table->text('response')->nullable(); $table->text('deskripsi')->nullable(); --}}
@error('headers_text') {{$message}} @enderror
@error('body') {{$message}} @enderror
@error('response') {{$message}} @enderror
{{--
--}}
{{-- @php if(@$role){ $currentPermissions = old('permissions', @$role->permissions->pluck('name')->toArray()); }else{ $currentPermissions = null; } @endphp @foreach ($permissions as $key => $permission)
@endforeach --}}