From e47e241da120ac47356aaa8992d41546ae496254 Mon Sep 17 00:00:00 2001
From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com>
Date: Thu, 27 Nov 2025 09:39:16 +0100
Subject: [PATCH] fix: update environment variable form to use consistent
naming and improve checkbox logic
---
.../environment-variable/show.blade.php | 136 ++++++++----------
1 file changed, 56 insertions(+), 80 deletions(-)
diff --git a/resources/views/livewire/project/shared/environment-variable/show.blade.php b/resources/views/livewire/project/shared/environment-variable/show.blade.php
index 1995bda9c..46387e671 100644
--- a/resources/views/livewire/project/shared/environment-variable/show.blade.php
+++ b/resources/views/livewire/project/shared/environment-variable/show.blade.php
@@ -37,29 +37,23 @@
helper="This means that when you use $VARIABLES in a value, it should be interpreted as the actual characters '$VARIABLES' and not as the value of a variable named VARIABLE.
Useful if you have $ sign in your value and there are some characters after it, but you would not like to interpolate it from another value. In this case, you should set this to true."
label="Is Literal?" />
@else
- @if ($is_shared)
-
+ @if ($isSharedVariable)
+
@else
- @if ($isSharedVariable)
+ @if (!$env->is_nixpacks)
+
+ @endif
+
+ @if (!$env->is_nixpacks)
- @else
- @if (!$env->is_nixpacks)
-
- @endif
-
- @if (!$env->is_nixpacks)
-
- @if ($is_multiline === false)
-
- @endif
+ @if ($is_multiline === false)
+
@endif
@endif
@endif
@@ -83,26 +77,20 @@
helper="This means that when you use $VARIABLES in a value, it should be interpreted as the actual characters '$VARIABLES' and not as the value of a variable named VARIABLE.
Useful if you have $ sign in your value and there are some characters after it, but you would not like to interpolate it from another value. In this case, you should set this to true."
label="Is Literal?" />
@else
- @if ($is_shared)
-
+ @if ($isSharedVariable)
+
@else
- @if ($isSharedVariable)
-
- @else
-
-
-
- @if ($is_multiline === false)
-
- @endif
+
+
+
+ @if ($is_multiline === false)
+
@endif
@endif
@endif
@@ -159,29 +147,23 @@
helper="This means that when you use $VARIABLES in a value, it should be interpreted as the actual characters '$VARIABLES' and not as the value of a variable named VARIABLE.
Useful if you have $ sign in your value and there are some characters after it, but you would not like to interpolate it from another value. In this case, you should set this to true."
label="Is Literal?" />
@else
- @if ($is_shared)
-
+ @if ($isSharedVariable)
+
@else
- @if ($isSharedVariable)
+ @if (!$env->is_nixpacks)
+
+ @endif
+
+ @if (!$env->is_nixpacks)
- @else
- @if (!$env->is_nixpacks)
-
- @endif
-
- @if (!$env->is_nixpacks)
-
- @if ($is_multiline === false)
-
- @endif
+ @if ($is_multiline === false)
+
@endif
@endif
@endif
@@ -227,26 +209,20 @@
helper="This means that when you use $VARIABLES in a value, it should be interpreted as the actual characters '$VARIABLES' and not as the value of a variable named VARIABLE.
Useful if you have $ sign in your value and there are some characters after it, but you would not like to interpolate it from another value. In this case, you should set this to true."
label="Is Literal?" />
@else
- @if ($is_shared)
-
+ @if ($isSharedVariable)
+
@else
- @if ($isSharedVariable)
-
- @else
-
-
-
- @if ($is_multiline === false)
-
- @endif
+
+
+
+ @if ($is_multiline === false)
+
@endif
@endif
@endif