Refactor GroupForm to use unique validation method for start_date; enhance PilgrimResource and PilgrimForm with method documentation; update web routes to redirect from root to panel.

This commit is contained in:
2025-09-20 12:55:18 +05:00
parent e706e22266
commit b6537c5314
10 changed files with 202 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace App\Filament\Resources\Users\Schemas;
use Filament\Forms\Components\DateTimePicker;
use Filament\Forms\Components\TextInput;
use Filament\Schemas\Schema;
class UserForm
{
public static function configure(Schema $schema): Schema
{
return $schema
->components([
TextInput::make('name')
->required(),
TextInput::make('email')
->label('Email address')
->email()
->required(),
DateTimePicker::make('email_verified_at'),
TextInput::make('password')
->password()
->required(),
]);
}
}