Commits

KS Chan committed 765deac

Added html-form to /user/register

Comments (0)

Files changed (1)

templates/register.html

 {% extends "base.html" %}
 
 {% block content %}
-Email:
-Name:
-Password:
-Password (Again):
+<form action="" method="post">
+<div>
+<label for="email">Email:</label>
+<input id="email" type="text" name="email">
+</div>
+
+<div>
+<label for="display_name">Name:</label>
+<input id="display_name" type="text" name="display_name">
+</div>
+
+<div>
+<label for="password">Password:</label>
+<input id="password" type="password" name="password">
+</div>
+
+<div>
+<label for="password_again">Password (Again):</label>
+<input id="password_again" type="password" name="password_again">
+</div>
+
+<button type="submit">Register</button>
+</form>
 {% endblock content %}