register done
This commit is contained in:
parent
5662c1bb06
commit
54dc34b7b1
|
@ -0,0 +1,25 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Filament\Pages\Auth;
|
||||||
|
|
||||||
|
use Filament\Pages\Auth\Register as BaseRegister;
|
||||||
|
|
||||||
|
class Register extends BaseRegister
|
||||||
|
{
|
||||||
|
// Kustomisasi form registrasi jika diperlukan
|
||||||
|
protected function getForms(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'form' => $this->form(
|
||||||
|
$this->makeForm()
|
||||||
|
->schema([
|
||||||
|
$this->getNameFormComponent(),
|
||||||
|
$this->getEmailFormComponent(),
|
||||||
|
$this->getPasswordFormComponent(),
|
||||||
|
$this->getPasswordConfirmationFormComponent(),
|
||||||
|
])
|
||||||
|
->statePath('data'),
|
||||||
|
),
|
||||||
|
];
|
||||||
|
}
|
||||||
|
}
|
|
@ -29,6 +29,7 @@ public function panel(Panel $panel): Panel
|
||||||
->id('admin')
|
->id('admin')
|
||||||
->path('admin')
|
->path('admin')
|
||||||
->login()
|
->login()
|
||||||
|
->registration()
|
||||||
// ->brandName('POLIJE')
|
// ->brandName('POLIJE')
|
||||||
->brandLogo(asset('images/logo-polije.png'))
|
->brandLogo(asset('images/logo-polije.png'))
|
||||||
->brandLogoHeight('3rem')
|
->brandLogoHeight('3rem')
|
||||||
|
|
Loading…
Reference in New Issue