Fixed code indentation in templates