Removed some useless spaces from template files

Removed some useless spaces from template files.