Moved canResign check to role logic so subclasses can override.
Also changed the variable name in the templates to be more generic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
<html>
<head><title>Something went wrong</title></head>
<body>
We ran into a problem while serving your request, please try again.
</body>
</html>