mirror of
https://github.com/anna-sara/vbytes_lan.git
synced 2026-09-03 11:15:23 +02:00
Added content field to Sms template form
This commit is contained in:
parent
0b1a3ae96f
commit
7d23f3972b
1 changed files with 5 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ namespace App\Filament\Resources\Smstemplates\Schemas;
|
||||||
use Filament\Forms\Components\TextInput;
|
use Filament\Forms\Components\TextInput;
|
||||||
use Filament\Forms\Components\Toggle;
|
use Filament\Forms\Components\Toggle;
|
||||||
use Filament\Schemas\Schema;
|
use Filament\Schemas\Schema;
|
||||||
use Filament\Forms\Components\MarkdownEditor;
|
use Filament\Forms\Components\Textarea;
|
||||||
use DiscoveryDesign\FilamentGaze\Forms\Components\GazeBanner;
|
use DiscoveryDesign\FilamentGaze\Forms\Components\GazeBanner;
|
||||||
|
|
||||||
class SmstemplatesForm
|
class SmstemplatesForm
|
||||||
|
|
@ -20,6 +20,10 @@ class SmstemplatesForm
|
||||||
TextInput::make('title')
|
TextInput::make('title')
|
||||||
->required()
|
->required()
|
||||||
->columnSpanFull(),
|
->columnSpanFull(),
|
||||||
|
Textarea::make('content')
|
||||||
|
->required()
|
||||||
|
->rows(5)
|
||||||
|
->columnSpanFull(),
|
||||||
Toggle::make('draft')
|
Toggle::make('draft')
|
||||||
->default(false)
|
->default(false)
|
||||||
->onColor('warning')
|
->onColor('warning')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue