coolify/resources/views/livewire/project/application/storages/show.blade.php

22 lines
927 B
PHP
Raw Normal View History

2023-07-13 13:16:24 +02:00
<div>
<x-modal yesOrNo modalId="{{ $modalId }}" modalTitle="Delete Storage">
<x-slot:modalBody>
<p>This storage will be deleted <span class="font-bold text-warning">({{ $storage->name }})</span>. It is not
reversible. <br>Please think again.</p>
</x-slot:modalBody>
</x-modal>
2023-06-15 09:15:41 +02:00
<form wire:submit.prevent='submit' class="flex flex-col gap-2 xl:items-end xl:flex-row">
<x-forms.input id="storage.name" label="Name" required />
<x-forms.input id="storage.host_path" label="Source Path" />
<x-forms.input id="storage.mount_path" label="Destination Path" required />
<div class="flex gap-2">
2023-05-25 14:05:44 +02:00
<x-forms.button type="submit">
2023-05-17 12:14:18 +02:00
Update
2023-05-25 14:05:44 +02:00
</x-forms.button>
2023-07-13 13:16:24 +02:00
<x-forms.button isError isModal modalId="{{ $modalId }}">
2023-05-17 12:14:18 +02:00
Delete
2023-05-25 14:05:44 +02:00
</x-forms.button>
2023-05-17 12:14:18 +02:00
</div>
2023-05-05 12:08:38 +02:00
</form>
</div>