fix: table template preview page template
This commit is contained in:
@@ -192,7 +192,10 @@ func roomTemplatesPreview(
|
||||
tmpl := template.Must(template.New("").Funcs(template.FuncMap{
|
||||
"bricksForPerson": bricksForPerson,
|
||||
"personsFromRoom": personsFromRoom,
|
||||
}).ParseFS(templateFs, baseFile, "templates/tableTemplates.gohtml"))
|
||||
}).ParseFS(templateFs, baseFile ,
|
||||
"templates/tableTemplates.gohtml",
|
||||
"templates/tableTemplatesPreview.gohtml",
|
||||
))
|
||||
|
||||
err := tmpl.ExecuteTemplate(w, "full-page", pageData)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user