aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-03 23:45:17 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-03 23:45:17 +0530
commit42f0febd38f0427f33994b153c1a1d937afb609c (patch)
treed608275bf81c677cfb2b5d63be98eb092ff26f5b /app/templates
parent0090c644eb7eb088be5dc5a9889f654003c4d6c6 (diff)
fixed sign up form
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/auth/signup.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/app/templates/auth/signup.html b/app/templates/auth/signup.html
new file mode 100644
index 0000000..e0cae82
--- /dev/null
+++ b/app/templates/auth/signup.html
@@ -0,0 +1,38 @@
+{% extends "base.html" %}
+
+{% block title %}Sign Up{% endblock %}
+
+{% block head %}
+ {{ super() }}
+{% endblock %}
+
+{% block content %}
+ <div class="container">
+ <h1 class="display-2">Sign Up</h1>
+ <p>Register your account.</p>
+ <form method="POST">
+ {% include 'flash_messages.html' %}
+ {{ form.csrf_token }}
+ {% from "_formhelpers.html" import render_field %}
+ <div class="form-group">
+ <div class="row">
+ <div class="col">
+ {{ render_field(form.first_name) }}
+ </div>
+ <div class="col">
+ {{ render_field(form.last_name) }}
+ </div>
+ </div>
+ </div>
+ <div class="form-group">
+ {{ render_field(form.email) }}
+ </div>
+ <div class="form-group">
+ {{ render_field(form.password) }}
+ </div>
+ <div class="form-group">
+ <input class="btn btn-primary" type="submit" value="Submit">
+ </div>
+ </form>
+</div>
+{% endblock %} \ No newline at end of file