]> git.ozlabs.org Git - patchwork/blobdiff - patchwork/templates/patchwork/login.html
Move to a more recent django project structure
[patchwork] / patchwork / templates / patchwork / login.html
diff --git a/patchwork/templates/patchwork/login.html b/patchwork/templates/patchwork/login.html
new file mode 100644 (file)
index 0000000..2dfc2a7
--- /dev/null
@@ -0,0 +1,27 @@
+{% extends "base.html" %}
+
+{% block title %}Login{% endblock %}
+{% block heading %}Login{% endblock %}
+
+
+{% block body %}
+<form method="post">
+{% csrf_token %}
+<table class="form loginform">
+ <tr>
+  <th colspan="2" class="headerrow">login</th>
+ </tr>
+ {% if error %}
+  <tr>
+   <td colspan="2">{{ error }}</td>
+  </tr>
+ {% endif %}
+ {{ form }}
+ <tr>
+  <td colspan="2" class="submitrow">
+   <input type="submit" value="Login"/>
+  </td>
+ </tr>
+</table>
+</form>
+{% endblock %}