aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-04 00:06:28 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-04 00:06:28 +0530
commita3b38a5c327ba45515c75efccbd18e813c27aad0 (patch)
tree8de04d697f0489c0ce411d700470d17a83c073eb /app/templates
parent0c4f67c51846815fbd080ded7de740f57fcde506 (diff)
added user sign in
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/auth/signin.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/templates/auth/signin.html b/app/templates/auth/signin.html
new file mode 100644
index 0000000..eecff34
--- /dev/null
+++ b/app/templates/auth/signin.html
@@ -0,0 +1,28 @@
+{% extends "base.html" %}
+
+{% block title %}Sign Up{% endblock %}
+
+{% block head %}
+ {{ super() }}
+{% endblock %}
+
+{% block content %}
+ <div class="container">
+ <h1 class="display-2">User Login</h1>
+ <p>Sign in to your account.</p>
+ <form method="POST">
+ {% include 'flash_messages.html' %}
+ {{ form.csrf_token }}
+ {% from "_formhelpers.html" import render_field %}
+ <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