mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
update
This commit is contained in:
parent
59756d1a0a
commit
60d6d8b339
2 changed files with 7 additions and 1 deletions
|
@ -16,6 +16,7 @@ use Filament\Forms\Components\Radio;
|
|||
use Filament\Forms\Components\Section;
|
||||
use Filament\Forms\Components\Select;
|
||||
use Filament\Forms\Components\TextInput;
|
||||
use Filament\Forms\Components\Toggle;
|
||||
use Filament\Forms\Components\Wizard;
|
||||
use Filament\Forms\Form;
|
||||
use Filament\Forms\Get;
|
||||
|
@ -64,6 +65,8 @@ class Installer extends Page
|
|||
'3.4'
|
||||
];
|
||||
|
||||
public $enable_email_server = true;
|
||||
|
||||
public function form(Form $form): Form
|
||||
{
|
||||
|
||||
|
@ -249,6 +252,9 @@ class Installer extends Page
|
|||
->description('Configure your email server')
|
||||
->schema([
|
||||
|
||||
Toggle::make('enable_email_server')
|
||||
->label('Enable Email Server')
|
||||
->default(true),
|
||||
|
||||
|
||||
])->afterValidation(function () {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
</span>--}}
|
||||
</div>
|
||||
|
||||
<div class="w-[50rem] mt-8">
|
||||
<div class="w-[70rem] mt-8">
|
||||
{{$this->form}}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue