fix: remove old modal
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<div x-data="{ deleteEnvironment: false }">
|
||||
<x-naked-modal show="deleteEnvironment" title="Delete Environment"
|
||||
message='This environment will be deleted. It is not reversible. <br>Please think again.' />
|
||||
<x-forms.button isError x-on:click.prevent="deleteEnvironment = true">
|
||||
Delete Environment
|
||||
</x-forms.button>
|
||||
<div>
|
||||
<x-modal yesOrNo modalId="deleteEnvironment" modalTitle="Delete Environment">
|
||||
<x-slot:modalBody>
|
||||
<p>This environment will be deleted. It is not reversible. <br>Please think again.</p>
|
||||
</x-slot:modalBody>
|
||||
</x-modal>
|
||||
<x-forms.button isError isModal modalId="deleteEnvironment"> Delete Environment </x-forms.button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user