register / login

This commit is contained in:
Sanj 2011-08-03 20:25:43 +05:30
parent 0caed34a9c
commit f88fa1e057
2 changed files with 14 additions and 16 deletions

View File

@ -1,22 +1,16 @@
{% extends 'registration/register_base.html' %}
{% block title %}
Login
{% endblock %}
{% block extra_head %}
<link rel="stylesheet" href="/static/css/files/login.css" />
{% endblock %}
{% block pageTitle %}
Login
{% endblock %}
{% block content %}
{% block reg_content %}
<div id="loginWrapper">
<form action="" method="POST">
{{ form.as_ul }}<br />
<input type="submit" value="Submit" />
{% csrf_token %}
<table>
{{ form.as_table }}
<tr>
<td colspan="2"><input type="submit" value="Submit" /></td>
</tr>
</table>
</form>
</div>

View File

@ -4,8 +4,12 @@
{% block reg_content %}
<form action="" method="POST">
{{ form.as_p }}
<table>
{{ form.as_table }}
{% csrf_token %}
<input type="submit" value="Submit" />
<tr>
<td colspan="2"><input type="submit" value="Submit" /></td>
</tr>
</table>
</form>
{% endblock %}