coolify/resources/views/livewire/private-key/change.blade.php

15 lines
718 B
PHP
Raw Normal View History

2023-05-04 22:39:40 +02:00
<div x-data="{ deletePrivateKey: false }">
<x-naked-modal show="deletePrivateKey" message='Are you sure you would like to delete this private key?' />
2023-05-03 12:38:57 +02:00
<form class="flex flex-col gap-2 w-96" wire:submit.prevent='changePrivateKey'>
2023-05-03 14:24:18 +02:00
<x-inputs.input id="private_key.name" label="Name" required />
<x-inputs.input id="private_key.description" label="Description" />
<x-inputs.input type="textarea" id="private_key.private_key" label="Private Key" required />
2023-05-03 14:09:10 +02:00
<x-inputs.button type="submit">
2023-05-03 12:38:57 +02:00
Submit
2023-05-03 14:09:10 +02:00
</x-inputs.button>
2023-05-09 10:01:57 +02:00
<x-inputs.button isWarning x-on:click.prevent="deletePrivateKey = true">
2023-05-03 12:38:57 +02:00
Delete
2023-05-03 14:09:10 +02:00
</x-inputs.button>
2023-05-03 12:38:57 +02:00
</form>
</div>