	<h2>login</h2>
	[% IF user %]
	[% IF user_pending %]
	<h3 class='error'>You haven't verified your account.  Check your mail.</h3>
	[% ELSE %]
	<h3 class='error'>That username/password combination doesn't match.</h3>
	[% END %]
	[% END %]
	<div class='loginform'>
		<form id='loginform' action='[% uri.login %]' method='POST'>
			<table>
				<tr><th>username</th><td><input name='user' value='[%user%]'/></tr>
				<tr><th>password</th><td><input type='password' name='password' /></tr>
				<tr><td class='submit' colspan='2'>
					<input type='submit' name='submit' value='login' />
				</td></tr>
			</table>
		</form>
	</div>
