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

15 lines
653 B
PHP
Raw Normal View History

2023-05-03 10:38:57 +00:00
<div>
<form class="flex flex-col gap-2 w-96" wire:submit.prevent='changePrivateKey'>
<x-form-input id="private_key_name" label="Name" required />
<x-form-input id="private_key_description" label="Longer Description" />
<x-form-input type="textarea" id="private_key_value" label="Private Key" required />
<button type="submit">
Submit
</button>
<button class="bg-red-500" @confirm.window="$wire.delete('{{ $private_key_uuid }}')"
x-on:click="toggleConfirmModal('Are you sure you would like to delete this application?')">
Delete
</button>
</form>
</div>