/upstream/templates/login.tmpl
Type: /type/template
body: value: $def with (form)

$var title: $("Log In")

<div id="contentHead">
    <h1>$_("Log In")</h1>
</div>

<script type="text/javascript">
//\$().ready(passwordMask);
//\$().ready(validateForms);
//\$().ready(validateLogin);
</script>

<div id="contentBody">
    <form id="register" class="login olform" name="register" method="post">
        
        $if form.note:
            <div class="note">$form.note</div>        

        <div class="formElement">
            <div class="label"><label for="username">$_("Username")</label> <span class="smaller lighter"></span></div>

            <div class="input">
                <input type="text" class="required" id="username" name="username" value="$form.username.value" autocapitalize="off" autocorrect="off"/>
                <span class="invalid clearfix" htmlfor="username">$form.username.note</span>
            </div>
        </div>
    
        <div class="formElement">
            <div class="label"><label for="password">$_("Password")</label> <span class="smaller lighter"></span></div>
            <div class="input">
                <input type="password" class="required"  id="password" name="password" value="$form.password.value" />
                <span class="invalid clearfix" htmlfor="password">$form.password.note</span>
            </div>
        </div>

        <div class="formElement">
            <div class="input">
                <input name="remember" type="checkbox" id="remember" />
                <label for="remember" class="small">Remember me</label>
            </div>
        </div>
        <input type="hidden" id="redirect" value="$form.redirect.value" name="redirect" />

        <div class="clearfix"></div>

        <div class="formElement bottom">
            <br/>
            <input value="$_('Log In')" type="submit" name="login" title="$_('Log In')"/>
            &nbsp;
            <a href="javascript:;" onclick="history.go(-1);" class="attn">$_("Cancel")</a>
        </div>
        <div class="formElement">
            <div class="label"></div>
            <div class="input smaller">$:_('<a href="/account/password/forgot">Forgotten your username or password</a>?')
            <br/><br/>
            $:_('Not a member of Open Library? <a href="/account/create">Sign up now</a>.')</div>
        </div>
    </form>
</div>
plugin: upstream