added photoprofile
This commit is contained in:
1 parent
1230bda4fe
commit
1ac8009173
9 files changed
+173
-13
No files matched your search
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Photoprofiles\Schemas;
|
||||
|
||||
use Filament\Forms\Components\Checkbox;
|
||||
use Filament\Forms\Components\Textarea;
|
||||
use Filament\Forms\Components\TextInput;
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class PhotoprofileForm
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
TextInput::make('name')
|
||||
->label('Name')
|
||||
->required(),
|
||||
Checkbox::make('active')
|
||||
->label('Aktiv'),
|
||||
Textarea::make('commands')
|
||||
->label('Befehle')
|
||||
->required(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user