Adds registration

This commit is contained in:
Mouse Reeve
2020-01-28 19:05:59 -08:00
parent 4007ed8827
commit 3d09d355eb
8 changed files with 59 additions and 15 deletions

View File

@ -12,6 +12,8 @@
</label>
<button type="submit">Log in</button>
</form>
<a href="/register/">Create a new account</a>
</div>
</div>
{% endblock %}

View File

@ -0,0 +1,23 @@
{% extends 'layout.html' %}
{% block content %}
<div id="content">
<div>
<form name="register" method="post">
<label for="username">Username:
<input type="text" name="username"></input>
</label>
<label for="email">Email address:
<input type="text" name="email"></input>
</label>
<label for="password">Password:
<input type="password" name="password"></input>
</label>
<button type="submit">Create account</button>
</form>
<a href="/login/">Log in with existing account</a>
</div>
</div>
{% endblock %}