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

17 lines
751 B
PHP
Raw Normal View History

2023-05-04 20:39:40 +00: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-16 09:02:51 +00:00
<form class="flex flex-col gap-2" wire:submit.prevent='changePrivateKey'>
2023-05-03 12:24:18 +00:00
<x-inputs.input id="private_key.name" label="Name" required />
<x-inputs.input id="private_key.description" label="Description" />
2023-05-18 11:26:35 +00:00
<x-inputs.textarea rows="10" id="private_key.private_key" label="Private Key" required />
2023-05-16 09:02:51 +00:00
<div>
2023-05-18 11:26:35 +00:00
<x-inputs.button type="submit">
2023-05-16 09:02:51 +00:00
Save
</x-inputs.button>
2023-05-18 11:26:35 +00:00
<x-inputs.button x-on:click.prevent="deletePrivateKey = true">
2023-05-16 09:02:51 +00:00
Delete
</x-inputs.button>
</div>
2023-05-03 10:38:57 +00:00
</form>
</div>