2023-05-04 20:29:14 +00:00
|
|
|
<div x-data="{ deleteEnvironment: false }">
|
2023-06-15 07:15:41 +00:00
|
|
|
<form wire:submit.prevent='submit' class="flex flex-col gap-2 xl:items-end xl:flex-row">
|
2023-06-16 08:32:29 +00:00
|
|
|
<x-forms.input id="env.key" label="Name" />
|
2023-06-16 10:00:36 +00:00
|
|
|
<x-forms.input type="password" id="env.value" label="Value" />
|
2023-06-15 07:15:41 +00:00
|
|
|
<x-forms.checkbox disabled id="env.is_build_time" label="Build Variable?" />
|
|
|
|
<div class="flex gap-2">
|
|
|
|
<x-forms.button type="submit">
|
|
|
|
Update
|
|
|
|
</x-forms.button>
|
|
|
|
<x-forms.button x-on:click.prevent="deleteEnvironment = true">
|
|
|
|
Delete
|
|
|
|
</x-forms.button>
|
2023-05-04 20:29:14 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<x-naked-modal show="deleteEnvironment" message="Are you sure you want to delete {{ $env->key }}?" />
|
|
|
|
</div>
|