File edit modal

This commit is contained in:
2021-02-23 16:50:13 +01:00
parent 346fa355c4
commit 5e8598f112
10 changed files with 180 additions and 290 deletions

View File

@@ -28,7 +28,7 @@ func (wc *WebController) adminGlobalsForm(td *TemplateData, r *http.Request) (f
return f
}
var globalsMap = make(map[string]string)
for _, v := range globals.Globals {
for _, v := range globals {
f.Fields = append(f.Fields, Field{
Name: v.Key,
DefaultValue: v.Value,