From 04675a73fd90d605082bc81438f2f125cd7290e2 Mon Sep 17 00:00:00 2001 From: notCharles Date: Mon, 6 May 2024 19:14:01 -0400 Subject: [PATCH] Make pretty --- app/Filament/Resources/EggResource/Pages/EditEgg.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/Filament/Resources/EggResource/Pages/EditEgg.php b/app/Filament/Resources/EggResource/Pages/EditEgg.php index 9253cbaaa..cd3ee54af 100644 --- a/app/Filament/Resources/EggResource/Pages/EditEgg.php +++ b/app/Filament/Resources/EggResource/Pages/EditEgg.php @@ -141,10 +141,13 @@ class EditEgg extends EditRecord Forms\Components\TextInput::make('env_variable') ->label('Environment Variable') ->maxLength(191) - ->hint(fn ($state) => "{{{$state}}}") + ->prefix('{{') + ->suffix('}}') + ->hintIcon('tabler-code') + ->hintIconTooltip(fn ($state) => "{{{$state}}}") ->required(), Forms\Components\TextInput::make('default_value')->maxLength(191), - Forms\Components\Textarea::make('rules')->rows(3)->columnSpanFull(), + Forms\Components\TextInput::make('rules')->columnSpanFull(), ]), ]), Forms\Components\Tabs\Tab::make('Install Script')