Pracownia.Programowania/views/index.html
2019-03-06 20:06:19 +01:00

25 lines
417 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
{{if .First}}
USER NAME {{.UserName}}<br>
PASSWORD {{.Password}}<br>
FIRST {{.First}}<br>
LAST {{.Last}}<br>
<h2><a href="/logout">log out</a></h2>
{{else}}
<h2><a href="/signup">sign up</a></h2>
<h2><a href="/login">log in</a></h2>
{{end}}
<br>
<h2>Go to <a href="/bar">the bar</a></h2>
</body>
</html>