$def with (error=None, url_reset='') $if error == 'expired': $ title = 'Link expired' $else: $ title = 'Change your password' $title

$title

$if error == 'expired':

This link appear to be expired or invalid.

You can generate a new one here.

$else: $if error == 'match':
Passwords don't match
$elif error == 'bad password':
Password is too short