JWebmail – <%= ucfirst l 'login' %>
% if (my $msg = flash('message') || stash('warning')) {
%= $msg
% }
%= form_for login => (name => 'login1') => (method => 'post') => (class => 'pure-form pure-form-aligned jwm-round') => begin
% end
%= javascript begin
if (!document.login1.userid.value) {
document.login1.userid.focus();
} else {
document.login1.password.focus();
}
% end