add signup view
This commit is contained in:
parent
fbc6570eb6
commit
633663f95d
7 changed files with 74 additions and 17 deletions
14
templates/member/signup.html
Normal file
14
templates/member/signup.html
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<!-- templates/signup.html -->
|
||||
{% extends 'base.html' %}
|
||||
{% load crispy_forms_tags %}
|
||||
{% block title %}Sign Up{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Sign up</h2>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p |crispy }}
|
||||
{{ user_form.as_p |crispy }}
|
||||
<button type="submit">Sign up</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue