Add dedicated show/edit pages for cloud provider tokens and cloud-init scripts, including descriptions and UUID routes. Generate private keys directly from the index and surface cloud provider API loading errors in server creation flows.
12 lines
544 B
PHP
12 lines
544 B
PHP
<form wire:submit='save' class="flex flex-col gap-4 w-full">
|
|
<x-forms.input id="name" label="Script Name" helper="A descriptive name for this cloud-init script." required />
|
|
|
|
<x-forms.textarea id="script" label="Script Content" rows="12"
|
|
helper="Enter your cloud-init script. Supports cloud-config YAML format." required />
|
|
|
|
<div class="flex justify-end gap-2">
|
|
<x-forms.button type="submit" isHighlighted>
|
|
{{ $scriptId ? 'Update Script' : 'Create Script' }}
|
|
</x-forms.button>
|
|
</div>
|
|
</form>
|