schema([ Forms\Components\TextInput::make('name')->required()->maxLength(255)->label(__('label.name')), Forms\Components\TextInput::make('peer_id')->required()->maxLength(255)->label(__('label.agent_deny.peer_id')), Forms\Components\TextInput::make('agent')->required()->maxLength(255)->label(__('label.agent_deny.agent')), Forms\Components\Textarea::make('comment')->label(__('label.comment')), ]); } public function table(Table $table): Table { return $table ->columns([ Tables\Columns\TextColumn::make('name')->label(__('label.name')), Tables\Columns\TextColumn::make('peer_id')->label(__('label.agent_deny.peer_id')), Tables\Columns\TextColumn::make('agent')->label(__('label.agent_deny.agent')), ]) ->filters([ // ]) ->headerActions([ Tables\Actions\CreateAction::make(), ]) ->actions([ Tables\Actions\EditAction::make(), Tables\Actions\DeleteAction::make(), ]) ->bulkActions([ Tables\Actions\DeleteBulkAction::make(), ]); } }