Add bot logs
All checks were successful
Deploy App / deploy (push) Successful in 11s

This commit is contained in:
2025-08-31 21:54:18 +02:00
parent 77ebc6bce1
commit 378355ad5b
16 changed files with 355 additions and 20 deletions

View File

@@ -65,10 +65,19 @@
>
Prettify
</span>
@elseif ($meta['type'] === 'textarea')
<textarea
wire:model.live="config.{{ $field }}"
class="border rounded w-full"
name="config[{{ $field }}]"
rows="4"
>
{{ old("config.$field", $bot->config[$field] ?? '') }}
</textarea>
@else
<input
wire:model.live="config.{{ $field }}"
class="border p-2 rounded mb-2 w-full"
class="border p-2 rounded w-full"
type="text"
name="config[{{ $field }}]"
value="{{ old("config.$field", $bot->config[$field] ?? '') }}"