use naked modal
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<div>
|
||||
<div x-data="{ deletePrivateKey: false }">
|
||||
<x-naked-modal show="deletePrivateKey" message='Are you sure you would like to delete this private key?' />
|
||||
<form class="flex flex-col gap-2 w-96" wire:submit.prevent='changePrivateKey'>
|
||||
<x-inputs.input id="private_key.name" label="Name" required />
|
||||
<x-inputs.input id="private_key.description" label="Description" />
|
||||
@@ -6,7 +7,7 @@
|
||||
<x-inputs.button type="submit">
|
||||
Submit
|
||||
</x-inputs.button>
|
||||
<x-inputs.button confirm='Are you sure you would like to delete this private key?' confirmAction="delete">
|
||||
<x-inputs.button isWarning x-on:click="deletePrivateKey = true">
|
||||
Delete
|
||||
</x-inputs.button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user