You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
438 B

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Search result | {{.SearchTerm}}</title>
</head>
<body>
<form action="/search" method="get">
<label>
Search term:
<input type="text" name="term" value="{{.SearchTerm}}" required>
</label>
</form>
{{range .Results}}
<a href="/view?id={{.Id}}">{{.Id}} - {{.Title}}</a><br />
{{end}}
</body>
</html>