Routing, templating, and database handling
This commit is contained in:
11
templates/pages/register.html
Normal file
11
templates/pages/register.html
Normal file
@ -0,0 +1,11 @@
|
||||
{{ define "pageTitle" }}Register{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<form action="/register-handle" method="post">
|
||||
<label for="username">Username:</label><br>
|
||||
<input type="text" id="username" name="username" value="John"><br><br>
|
||||
<label for="password">Password:</label><br>
|
||||
<input type="password" id="password" name="password"><br><br>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
{{ end }}
|
Reference in New Issue
Block a user