Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

delete user confirm

ayntk-aib807601d194f
diff --git a/resources/views/livewire/team/admin-view.blade.php b/resources/views/livewire/team/admin-view.blade.php
index 5035addece..0e9429eb4e 100644
--- a/resources/views/livewire/team/admin-view.blade.php
+++ b/resources/views/livewire/team/admin-view.blade.php
@@ -15,7 +15,15 @@
<div>{{ $user->email }}</div>
<div class="flex-1"></div>
<div class="flex items-center justify-center gap-2 mx-4 text-xs font-bold ">
- <x-modal-confirmation isErrorButton action="delete({{ $user->id }})" buttonTitle="Delete">
+ <x-modal-confirmation
+ title="Confirm User Deletion?"
+ buttonTitle="Delete User"
+ isErrorButton
+ :actions="['This will delete the user and all the ressources related to this user from Coolify and the database.']"
+ confirmText="{{ $user->name }}"
+ confirmationLabel="Please confirm the execution of the actions by entering the User Name below"
+ shortConfirmationLabel="User Name"
+ submitAction="delete({{ $user->id }})">
This will delete all resources (application, databases, services, configurations, servers,
private keys, tags, etc.) from Coolify and <span
class="font-bold text-red-500 dark:text-warning">from the server (if it's reachable)</span>.