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

22 lines
887 B
PHP
Raw Normal View History

2023-07-13 11:16:24 +00:00
<div>
<x-modal yesOrNo modalId="{{ $modalId }}" modalTitle="Delete Environment Variable">
<x-slot:modalBody>
<p>Are you sure you want to delete this environment variable <span
class="font-bold text-warning">({{ $env->key }})</span>?</p>
</x-slot:modalBody>
</x-modal>
<form wire:submit.prevent='submit' class="flex flex-col items-center gap-2 xl:flex-row">
2023-08-11 18:19:42 +00:00
<x-forms.input id="env.key" />
<x-forms.input type="password" id="env.value" />
2023-08-11 20:41:47 +00:00
<x-forms.checkbox instantSave id="env.is_build_time" label="Build Variable?" />
2023-06-15 07:15:41 +00:00
<div class="flex gap-2">
<x-forms.button type="submit">
Update
</x-forms.button>
2023-07-13 11:16:24 +00:00
<x-forms.button isError isModal modalId="{{ $modalId }}">
2023-06-15 07:15:41 +00:00
Delete
</x-forms.button>
2023-05-04 20:29:14 +00:00
</div>
</form>
</div>