generated from thegrind/laravel-dockerized
18 lines
758 B
PHP
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> |