diff options
author | Jayaram Pai | 2013-12-11 15:31:24 +0530 |
---|---|---|
committer | Jayaram Pai | 2013-12-11 15:31:24 +0530 |
commit | 3a680b5d2442268ab117c0f98f21a039d4544bd8 (patch) | |
tree | ad3b7e40a99cea53d63d0dc9e5fe216178dff7b9 /static/forums/templates | |
parent | 0dd964ec05401809a408ab55d5517d3b2fba3a85 (diff) | |
download | spoken-tutorial-forums-3a680b5d2442268ab117c0f98f21a039d4544bd8.tar.gz spoken-tutorial-forums-3a680b5d2442268ab117c0f98f21a039d4544bd8.tar.bz2 spoken-tutorial-forums-3a680b5d2442268ab117c0f98f21a039d4544bd8.zip |
base one
Diffstat (limited to 'static/forums/templates')
-rw-r--r-- | static/forums/templates/user-login.html | 43 |
1 files changed, 39 insertions, 4 deletions
diff --git a/static/forums/templates/user-login.html b/static/forums/templates/user-login.html index 6ac4fee..27f5a1f 100644 --- a/static/forums/templates/user-login.html +++ b/static/forums/templates/user-login.html @@ -1,4 +1,39 @@ -<form action="/accounts/login/" method="POST"> {% csrf_token %} - {{ form.as_p }} - <input type="submit" value="Login"> -</form> +{% extends "website/templates/base.html" %} +{% load widget_tweaks %} +{% block content %} +<br><br><br> +<div class="row"> + <div class="col-lg-6" style="border-right: 1px dashed #424242;"> + <h4>Please login with your <br>Spoken-Tutorial.org account.</h4> + <form action="/accounts/login/" method="POST"> {% csrf_token %} + {% with WIDGET_ERROR_CLASS='field_error' %} + <div class="form-group"> + <label for="id_username">Username:</label> + {% render_field form.username class+="form-control" %} + </div> + + <div class="form-group"> + <label for="id_username">Password:</label> + {% render_field form.password class+="form-control" %} + </div> + + <input class="btn btn-sm btn-primary" type="submit" value="Login"> + {% endwith %} + </form> + </div> <!-- /.col --> + + <div class="col-lg-6"> + <h4>Rules and Regulations</h4> + <ul> + <li>This forum is a place to discuss questions and doubts related to the Spoken-Tutorial's</li> + <li>Please restrain yourself from using abusive language.</li> + <li>This is not a place for self promotion.</li> + <li>Any violation of the above may lead to the permanent account deletion.</li> + </ul> + <h4>Dont have a Spoken-Tutorial.org account yet ?</h4> + <p> + <a class="btn btn-sm btn-success" href="#">Register</a> + </p> + </div> <!-- /.col --> +</div> <!-- /.row --> +{% endblock %} |