]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/localauth/templates/loginform.html
Migrate to Django 1.6
[osqa.git] / forum_modules / localauth / templates / loginform.html
index 00113d5170ebc6a530270d129d849317c7e1ca21..9f088c5cc3fffa8cd5360eb81baa4cb0d9b2d4a1 100644 (file)
@@ -1,32 +1,31 @@
-{% load i18n %}\r
-{% block title %}{% spaceless %}{% trans "Login" %}{% endspaceless %}{% endblock %}\r
-\r
-<fieldset id='local_login_fs'>\r
-  <p><span class='big strong'>Enter your local user name and password</span><br/><span class='grey'>(or select your external provider above)</span></p>\r
-  <table>\r
-    <tr>\r
-        <td>\r
-             <label for="id_username">Login name</label>\r
-        </td>\r
-        <td>\r
-             <input id="id_username" type="text" class="required login" name="username" maxlength="30" />\r
-        </td>\r
-    </tr>\r
-    <tr>\r
-        <td>\r
-              <label for="id_password">Password</label>\r
-        </td>\r
-        <td>\r
-             <input id="id_password" type="password" class="required login" name="password" maxlength="128" />\r
-        </td>\r
-    </tr>\r
-    <tr>\r
-        <td>\r
-            <input id="blogin" name="blogin" type="submit" value="Login" />\r
-        </td>\r
-        <td>\r
-              <a href="{% url auth_local_register %}">Create account</a><span>&nbsp;|&nbsp;</span><a href="{% url auth_request_tempsignin %}">Forgot your password?</a>\r
-        </td>\r
-    </tr>\r
-  </table>\r
-</fieldset>
\ No newline at end of file
+{% load i18n %}
+
+<fieldset id='local_login_fs'>
+  <p><span class='big strong'>{% trans 'Enter your local user name and password' %}</span><br/><span class='grey'>({% trans 'or select your external provider above' %})</span></p>
+  <table>
+    <tr>
+        <td>
+             <label for="id_username">{% trans 'Login name' %}</label>
+        </td>
+        <td>
+             <input id="id_username" type="text" class="required login" name="username" maxlength="30" />
+        </td>
+    </tr>
+    <tr>
+        <td>
+              <label for="id_password">{% trans 'Password' %}</label>
+        </td>
+        <td>
+             <input id="id_password" type="password" class="required login" name="password" maxlength="128" />
+        </td>
+    </tr>
+    <tr>
+        <td>
+            <input id="blogin" name="blogin" type="submit" value="{% trans 'Login' %}" />
+        </td>
+        <td>
+              <a href="{% url "auth_local_register" %}">{% trans 'Create account' %}</a><span>&nbsp;|&nbsp;</span><a href="{% url "auth_request_tempsignin" %}">{% trans 'Forgot your password?' %}</a>
+        </td>
+    </tr>
+  </table>
+</fieldset>