Remove DocumentForm schema and update Turkmen translations for modal actions and notifications; refactor web routes for cleaner syntax.
This commit is contained in:
1 parent
34e78c5e43
commit
3e58524af7
6 files changed
+17
-45
No files matched your search
@@ -1,28 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Documents\Schemas;
|
||||
|
||||
use Filament\Forms\Components\FileUpload;
|
||||
use Filament\Forms\Components\Select;
|
||||
use Filament\Forms\Components\TextInput;
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class DocumentForm
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
Select::make('pilgrim_id')
|
||||
->relationship('pilgrim', 'last_name')
|
||||
->searchable()
|
||||
->preload()
|
||||
->required(),
|
||||
TextInput::make('title')
|
||||
->required(),
|
||||
FileUpload::make('file')
|
||||
->required()
|
||||
->downloadable(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user