5 - if ( typeof(verify) != 'undefined' && verify ) { url += "/" + resetPassCode; }
8 form#resetpw( action = '#{ url }', method = 'POST' )
11 - if ( typeof(verify) != 'undefined' && verify )
12 P To verify and reset your password, type the full email address and your new password twice, then click submit.
14 P To reset your password, enter your email address click "Reset". An email will be sent to you with the new password.
18 label( for = 'email' ) Email
20 input( type = 'text', name = 'email', size='15', value = session.email )
22 - if ( typeof(verify) != 'undefined' && verify )
25 label( for = 'pass1' ) New Password
27 input( type = 'password', name = 'pass1', size='15' )
30 label( for = 'pass2' ) Repeat Password
32 input( type = 'password', name = 'pass2', size='15' )
37 div( class = 'field', style = 'min-width: 200px' )
42 $( document ).ready( function() {
43 if( $( 'input[name=email]' ).val() ) {
44 $( 'input[name=password]' ).focus();
46 $( 'input[name=email]' ).focus();