lasthourcloud/resources/views/livewire/project/application/environment-variable/show.blade.php

17 lines
726 B
PHP
Raw Normal View History

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">
<x-forms.input label="Name" id="env.key" />
<x-forms.input label="Value" id="env.value" />
<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>