19 lines
801 B
PHP
19 lines
801 B
PHP
<div x-data="{ deleteEnvironment: false }">
|
|
<form wire:submit.prevent='submit' class="flex flex-col px-2 max-w-fit">
|
|
<div class="flex gap-2">
|
|
<x-inputs.input label="Name" id="env.key" />
|
|
<x-inputs.input label="Value" id="env.value" />
|
|
<x-inputs.checkbox disabled class="flex-col items-center" id="env.is_build_time" label="Build Variable?" />
|
|
</div>
|
|
<div class="pt-2">
|
|
<x-inputs.button type="submit">
|
|
Update
|
|
</x-inputs.button>
|
|
<x-inputs.button x-on:click.prevent="deleteEnvironment = true">
|
|
Delete
|
|
</x-inputs.button>
|
|
</div>
|
|
</form>
|
|
<x-naked-modal show="deleteEnvironment" message="Are you sure you want to delete {{ $env->key }}?" />
|
|
</div>
|