producthunt/accounts/templates/accounts/signup.html

26 lines
625 B
HTML
Raw Normal View History

2020-03-09 21:41:52 -07:00
{% extends 'base.html' %}
{% block content %}
{% if error %}
{{ error }}
<br />
<br />
{% endif %}
<h1>Sign Up!</h1>
<form method="POST" action="{% url 'signup' %}">
{% csrf_token %}
Username:
<br/>
<input type="text" name="username"/>
<br/>
Password:
<br/>
<input type="password" name="password1"/>
<br/>
Confirm Password:
<br/>
<input type="password" name="password2"/>
<br/><br/>
<input type="submit" value="Sign Up!" class="btn btn-primary">
</form>
{% endblock %}