1
Fork 0
GoShort/templates/urlform.gohtml

11 lines
440 B
Plaintext

<!doctype html>
<html lang=en>
<meta name=viewport content="width=device-width, initial-scale=1.0">
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@exampledev/new.css@1.1.3/new.min.css>
<title>{{.Title}}</title>
<h1>{{.Title}}</h1>
<form action={{.URL}} method=post>
{{range .Fields}}<input type=text name={{index . 0}} placeholder={{index . 0}} value="{{index . 1}}"><br>{{end}}
<input type=submit value={{.Title}}>
</form>
</html>