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: show comment field for locked environment variables

Andras Bacsaia4d546596337
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 80b607bd77..48fb5f1bfa 100644
--- a/resources/views/livewire/project/shared/environment-variable/show.blade.php
+++ b/resources/views/livewire/project/shared/environment-variable/show.blade.php
@@ -21,6 +21,12 @@
step2ButtonText="Permanently Delete" />
@endcan
</div>
+ @if ($comment)
+ <div class="w-full">
+ <x-forms.input disabled id="comment" label="Comment"
+ helper="Documentation for this environment variable." maxlength="256" />
+ </div>
+ @endif
@can('update', $this->env)
<div class="flex flex-col w-full gap-3">
<div class="flex flex-wrap w-full items-center gap-4">