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
% if ($uses_cram) {
%= javascript '/src/login_cram.js'
% }
%= javascript begin
if (!document.login1.userid.value) {
document.login1.userid.focus();
} else {
document.login1.password.focus();
}
% end