From d77682e0d4213e8cc502b333cbd8e34d567445a4 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 16 Jan 2014 18:22:03 +0100 Subject: Bug 888731: Bugzilla login field should use "placeholder" HTML5 attribute instead of JavaScript r=dkl a=justdave --- .../en/default/account/auth/login-small.html.tmpl | 82 ++++++---------------- 1 file changed, 21 insertions(+), 61 deletions(-) (limited to 'template') diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index 801fef81e..433925d72 100644 --- a/template/en/default/account/auth/login-small.html.tmpl +++ b/template/en/default/account/auth/login-small.html.tmpl @@ -25,74 +25,29 @@ onclick="return show_mini_login_form('[% qs_suffix %]')">Log In [% Hook.process('additional_methods') %] - -
- - - + id="mini_login[% qs_suffix FILTER html %]"> + + [% IF Param('rememberlogin') == 'defaulton' || - Param('rememberlogin') == 'defaultoff' - %] + Param('rememberlogin') == 'defaultoff' %] + [%+ "checked" IF Param('rememberlogin') == "defaulton" %]> [% END %] - [x]
@@ -103,7 +58,12 @@
- + -- cgit v1.2.3-24-g4f1b