2024-01-23 18:01:17 +00:00
|
|
|
<form class="flex flex-col gap-2 rounded" wire:submit='submit'>
|
|
|
|
<x-forms.input placeholder="NODE_ENV" id="key" label="Name" required />
|
2024-03-15 21:02:37 +00:00
|
|
|
<x-forms.textarea x-show="$wire.is_multiline === true" x-cloak id="value" label="Value" required />
|
2024-03-22 10:34:15 +00:00
|
|
|
<x-forms.input x-show="$wire.is_multiline === false" x-cloak placeholder="production" id="value"
|
|
|
|
x-bind:label="$wire.is_multiline === false && 'Value'" required />
|
2024-01-23 18:01:17 +00:00
|
|
|
@if (data_get($parameters, 'application_uuid'))
|
|
|
|
<x-forms.checkbox id="is_build_time" label="Build Variable?" />
|
2024-03-22 10:34:15 +00:00
|
|
|
@endif
|
|
|
|
<x-forms.checkbox id="is_multiline" label="Is Multiline?" />
|
2024-01-23 18:01:17 +00:00
|
|
|
<x-forms.button type="submit" @click="slideOverOpen=false">
|
|
|
|
Save
|
|
|
|
</x-forms.button>
|
|
|
|
</form>
|