diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-09 23:29:24 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-09 23:29:24 +0100 |
commit | aa78d90803a68e41ea663adb623c859cae3ad91e (patch) | |
tree | c793e30df9fccdf350fcd299e70fb3c14fabc36a /module/web/templates/default/login.html | |
parent | captcha manager fix, toggle reconnect (diff) | |
download | pyload-aa78d90803a68e41ea663adb623c859cae3ad91e.tar.xz |
new config page, mootools 1.3, removed old templates
Diffstat (limited to 'module/web/templates/default/login.html')
-rw-r--r-- | module/web/templates/default/login.html | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/module/web/templates/default/login.html b/module/web/templates/default/login.html index 7ae78183b..0e9e4d568 100644 --- a/module/web/templates/default/login.html +++ b/module/web/templates/default/login.html @@ -1,26 +1,23 @@ {% extends 'default/base.html' %} -{% load i18n %} -{% load token %} -{% block title %}{% trans "Login" %} - {{block.super}} {% endblock %} +{% block title %}{{_("Login")}} - {{super()}} {% endblock %} {% block content %} <div class="centeralign"> <form action="" method="post" accept-charset="utf-8" id="login"> - {% csrf_token %} <div class="no"> <input type="hidden" name="do" value="login" /> <fieldset> <legend>Login</legend> <label> - <span>{% trans "Username" %}</span> - {{ form.username }} + <span>{{_("Username")}}</span> + <input type="text" size="20" name="username"/> </label> <br /> <label> - <span>{% trans "Password" %}</span> - {{ form.password }} + <span>{{_("Password")}}</span> + <input type="password" size="20" name="password"> </label> <br /> <input type="submit" value="Login" class="button" /> @@ -28,8 +25,8 @@ </div> </form> -{% if form.errors %} -<p>{% trans "Your username and password didn't match. Please try again." %}</p> +{% if errors %} +<p>{{_("Your username and password didn't match. Please try again.")}}</p> {% endif %} </div> |