summaryrefslogtreecommitdiff
path: root/sbhs/templates/account/account_index.html
diff options
context:
space:
mode:
authorCruiseDevice2018-08-20 14:34:36 +0530
committerCruiseDevice2018-08-20 14:40:32 +0530
commit77c37a0b372e5e43fc761a70599a945e9e48ef58 (patch)
tree5ee4112adbd3e066c75a47210613685e2c6ddd1f /sbhs/templates/account/account_index.html
parentea0f3944ab5330bbde99fc22c9903f25a92ee98e (diff)
downloadsbhs_server-77c37a0b372e5e43fc761a70599a945e9e48ef58.tar.gz
sbhs_server-77c37a0b372e5e43fc761a70599a945e9e48ef58.tar.bz2
sbhs_server-77c37a0b372e5e43fc761a70599a945e9e48ef58.zip
static and template files
Diffstat (limited to 'sbhs/templates/account/account_index.html')
-rw-r--r--sbhs/templates/account/account_index.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/sbhs/templates/account/account_index.html b/sbhs/templates/account/account_index.html
new file mode 100644
index 0000000..4b95df0
--- /dev/null
+++ b/sbhs/templates/account/account_index.html
@@ -0,0 +1,29 @@
+{% extends "base.html" %}
+
+{% block content %}
+<div class="container">
+ <div class="row">
+ <div class="span5">
+ <h2>Login</h2>
+ <br>
+ <form action="{% url 'account_login' %}" method="POST">
+ {% csrf_token %}
+ {{login_form.as_p}}
+
+ <input type="submit" class="btn btn-primary" value="Login">
+ &nbsp;&nbsp;<a href="#">Forgot Password?</a>
+ </form>
+ </div>
+ <div class="span5 pull-right">
+ <h2>Create Account</h2>
+ <form action="{% url 'account_create' %}" method="POST">
+ {% csrf_token %}
+ {{registration_form.as_p}}
+
+ <input type="submit" class="btn btn-inverse" value="New User? Sign-Up">
+ </form>
+ </div>
+ </div>
+
+</div>
+{% endblock %}