Update template.rb

Fixed indentation issues.