I use this simple HTML loginform in my sidebar. Does anyone have any clever way to make it show the errormessages when you type in wrong password or username?
<form action="<?php echo wp_login_url(get_permalink()); ?>" method="post">
<input type="text" name="log" id="log" style="width:92%; margin-bottom:3px;" value="Username" onfocus="if(this.value=='Username')this.value=''" onblur="if(this.value=='')this.value='Username'" />
<input type="password" name="pwd" id="pwd" style="width:92%; margin-bottom:3px;" value="Password" onfocus="if(this.value=='Password')this.value=''" onblur="if(this.value=='')this.value='Password'" />
<input type="submit" name="submit" class="button" value="Login" />
</form>