changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > werc / changeset: Cosmetic improvements to login form and error msg.

changeset 372: d88136ca3cb9
parent 371: d961d29e9201
child 373: 5f7e186f0c24
author: uriel@engel.se.cat-v.org
date: Fri, 30 Jan 2009 15:18:07 +0100
files: lib/_users/login.tpl
description: Cosmetic improvements to login form and error msg.
     1.1--- a/lib/_users/login.tpl	Mon Jan 26 06:12:45 2009 +0100
     1.2+++ b/lib/_users/login.tpl	Fri Jan 30 15:18:07 2009 +0100
     1.3@@ -5,9 +5,9 @@
     1.4 % }
     1.5 % if not {
     1.6 %    if (~ $REQUEST_METHOD POST)
     1.7-%        echo 'Login failed!'
     1.8-<form method="POST">
     1.9-    <label>User name: <input type="text" name="user_name" /></label><br />
    1.10+%        echo '<div class="notify_errors">Login failed!</div>'
    1.11+<form method="POST" style="text-align: right; float: left;">
    1.12+    <label>User name: <input type="text" name="user_name" value="%($"post_arg_user_name%)"/></label><br />
    1.13     <lavel>User password: <input type="password" name="user_password" /></label><br />
    1.14     <input name="s" type="submit" value="Login" />
    1.15 </form>