diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-08-02 15:44:20 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-08-02 15:44:20 +0200 |
commit | 3efca6ce7c0dc039b2bc9d8865e3d7fa4754e10b (patch) | |
tree | eccac953f41503551694469d9996e2e4ef37aa67 /src/templates | |
parent | bcbbbcbc40c956c1d8487f6eb48bf8a5325a6380 (diff) |
Rename fields
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/language.html.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/templates/language.html.tmpl b/src/templates/language.html.tmpl index 95b0d40..21cd49d 100644 --- a/src/templates/language.html.tmpl +++ b/src/templates/language.html.tmpl @@ -38,7 +38,7 @@ {{ $save := . }} {{ $ps := .Printers }} {{ range locales }} - {{ if (and .Enabled (ne .Bcp $save.Printer.Bcp)) }} + {{ if (and .Enabledp (ne .Bcp $save.Printer.Bcp)) }} [ "{{ .Bcp }}", {{ $p := (index $ps .Bcp) }} @@ -100,12 +100,12 @@ <form action="/language" method="POST"> <div class="button-grid lang-grid"> {{ range locales }} - {{ if eq $ez .Eurozone }} + {{ if eq $ez .Eurozonep }} <button type="submit" name="locale" value="{{ .Bcp }}" - {{ if not .Enabled }} + {{ if not .Enabledp }} disabled {{ end }} > |