mirror of
https://github.com/anna-sara/vbytes_lan.git
synced 2026-09-03 10:25:22 +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\Toggle;
|
||||
use Filament\Schemas\Schema;
|
||||
use Filament\Forms\Components\MarkdownEditor;
|
||||
use Filament\Forms\Components\Textarea;
|
||||
use DiscoveryDesign\FilamentGaze\Forms\Components\GazeBanner;
|
||||
|
||||
class SmstemplatesForm
|
||||
|
|
@ -20,6 +20,10 @@ class SmstemplatesForm
|
|||
TextInput::make('title')
|
||||
->required()
|
||||
->columnSpanFull(),
|
||||
Textarea::make('content')
|
||||
->required()
|
||||
->rows(5)
|
||||
->columnSpanFull(),
|
||||
Toggle::make('draft')
|
||||
->default(false)
|
||||
->onColor('warning')
|
||||
|
|
|
|||
Loading…
Reference in a new issue