fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nicer oauth forms
[wolnelektury.git]
/
wolnelektury
/
templates
/
registration
/
login.html
diff --git
a/wolnelektury/templates/registration/login.html
b/wolnelektury/templates/registration/login.html
index
b88d4e1
..
5fbe3af
100755
(executable)
--- a/
wolnelektury/templates/registration/login.html
+++ b/
wolnelektury/templates/registration/login.html
@@
-1,5
+1,19
@@
-<form method="POST" action="">
+{% extends "simple_base.html" %}
+{% load i18n %}
+
+{% block "title" %}{% trans "Login to Wolne Lektury" %}{% endblock %}
+
+{% block "body" %}
+ <h1>{% trans "Login to Wolne Lektury" %}</h1>
+
+ <form method="POST">
{% csrf_token %}
{% csrf_token %}
- {{ form }}
-<input type="submit" />
-</form>
+ <table>
+ {{ form.as_table }}
+ <tr><td></td><td>
+ <input type="submit" value='{% trans "Login" %}' />
+ </td></tr>
+ </table>
+ </form>
+
+{% endblock %}