{{/* THE APP'S CONFIGURATION FIELDS — the install wizard's form (deploy.html). It renders ONLY for an app that is not installed (v0.322.0, R-1103): since v0.321.0 (R-1095) `/apps/{slug}/install` of an installed app answers 302 to its settings tab, and the settings tab shows the install answers as rows and the login as one panel (app_settings.html, app_login.go). The old read-only „installed" branches are gone; their secret rules live where the values are shown now — R-254/R-709 on the settings tab (TestAppPage_LoginPairPanel, TestR255_NoPlantedSecretReachesAnyPage). The PRE-DEPLOY hidden input is deliberate: the form must carry what it submits, so the value saved is the one the household was shown (controller/README §318). */}} {{define "app_deploy_fields"}} {{if .AutoFields}}

{{T "deploy.automatikusan_generalt_ertekek"}}

{{T "deploy.ezek_az_ertekek_a_telepitessel"}}

{{$autoValues := .AutoFieldValues}} {{range .AutoFields}} {{$val := index $autoValues .EnvVar}}
{{if $val}} {{if eq .Type "secret"}}
{{else}} {{end}} {{if eq .Type "secret"}} {{end}} {{end}}
{{end}}
{{end}} {{if .UserFields}}

{{T "deploy.beallitasok"}}

{{range .UserFields}}
{{if eq .Type "subdomain"}}
.{{$.Domain}}
{{T "deploy.az_aldomain_telepites_utan_nem"}} {{else if eq .Type "select"}} {{else if eq .Type "password"}}
{{else if eq .Type "boolean"}} {{else if eq .Type "path"}} {{if $.StoragePaths}}
{{T "deploy.a_kivalasztott_meghajton_az_alkalmazas"}}
{{else}} {{T "deploy.nincs_regisztralt_adattarolo_adja_meg"}} {{end}} {{else}} {{end}} {{if and .Description (ne .Type "subdomain")}} {{.Description}} {{end}}
{{end}}
{{end}} {{end}}