mirror of
https://github.com/nihonbuzz/nihonbuzz-academy.git
synced 2026-01-26 05:25:37 +07:00
21 lines
439 B
PHP
21 lines
439 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Roles\Schemas;
|
|
|
|
use Filament\Forms\Components\TextInput;
|
|
use Filament\Schemas\Schema;
|
|
|
|
class RoleForm
|
|
{
|
|
public static function configure(Schema $schema): Schema
|
|
{
|
|
return $schema
|
|
->components([
|
|
TextInput::make('name')
|
|
->required(),
|
|
TextInput::make('guard_name')
|
|
->required(),
|
|
]);
|
|
}
|
|
}
|