Fixing the templating for admin area. #346