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.

Feat: confirm server settings

ayntk-ai505127dae5e7
diff --git a/resources/views/livewire/server/form.blade.php b/resources/views/livewire/server/form.blade.php
index 3c137df91f..95fd3f2553 100644
--- a/resources/views/livewire/server/form.blade.php
+++ b/resources/views/livewire/server/form.blade.php
@@ -3,11 +3,15 @@
<div class="flex gap-2">
<h2>General</h2>
@if ($server->id === 0)
- <x-modal-confirmation buttonTitle="Save" title="Change Localhost" action="submit">
- You could lose a lot of functionalities if you change the server details of the server where Coolify
- is
- running on.<br>Please think again.
- </x-modal-confirmation>
+ <x-modal-confirmation
+ title="Confirm Server Settings Change?"
+ buttonTitle="Save"
+ submitAction="submit"
+ :actions="['You could lose a lot of functionalities if you change the server details of the server where Coolify is running on.']"
+ :confirmWithText="false"
+ :confirmWithPassword="false"
+ step2ButtonText="Save Server Settings"
+ />
@else
<x-forms.button type="submit">Save</x-forms.button>
@if ($server->isFunctional())