From e4bf8ab3374e1b7052a1b2e87e7c9e080f111daa Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Sat, 11 Oct 2025 10:59:26 +0200 Subject: [PATCH] refactor: enable cloud-init save checkbox at all times with backend validation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the disabled state from the save checkbox to allow users to check it at any time. The backend already validates that cloud_init_script is not empty before saving (line 499 in ByHetzner.php), so empty/null scripts will simply not be saved even if the checkbox is checked. This improves UX by making the checkbox always interactive while maintaining data integrity through backend validation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- resources/views/livewire/server/new/by-hetzner.blade.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/views/livewire/server/new/by-hetzner.blade.php b/resources/views/livewire/server/new/by-hetzner.blade.php index 40ad094da..a92fcb177 100644 --- a/resources/views/livewire/server/new/by-hetzner.blade.php +++ b/resources/views/livewire/server/new/by-hetzner.blade.php @@ -175,8 +175,7 @@ class="p-4 border border-yellow-500 dark:border-yellow-600 rounded bg-yellow-50
+ helper="Save this cloud-init script to your team's library for reuse" /> @if ($save_cloud_init_script)