scripthost/resources/views/livewire/forms/new-script.blade.php
Javier Feliz 74f5dc5db1
Some checks failed
tests / ci (push) Has been cancelled
linter / quality (push) Has been cancelled
Build & Push Docker Image to Registry / build (release) Failing after 3m7s
Initial test
2025-07-22 19:45:33 -04:00

18 lines
758 B
PHP

<form wire:submit="create" class="flex flex-col gap-4">
<flux:heading size="xl">New Script</flux:heading>
<div class="flex gap-4">
<div class="flex-1">
<flux:input label="Name" placeholder="New install setup" wire:model="name" />
</div>
<flux:field class="flex-1">
<flux:label>Path</flux:label>
<flux:input.group>
<flux:input.group.prefix>{{ config('app.url') }}/</flux:input.group.prefix>
<flux:input placeholder="new-install" wire:model="path" />
</flux:input.group>
</flux:field>
</div>
<flux:textarea wire:model="content" label="Script content" />
<flux:button variant="primary" type="submit">Create</flux:button>
</form>