templates/new_repl.go

18 lines
320 B
Go
Raw Normal View History

2025-01-12 10:47:45 +00:00
package templates
import (
"fmt"
"net/http"
)
func (T Templates) NewRepl(err error, w http.ResponseWriter, r *http.Request, title string, explanation string, remediation string) {
e := T.internalNewSplain(
title,
explanation,
remediation,
500,
)
T.internalTemplateErrorSplash(w, r, e)
fmt.Println(err)
}