Fix small code style in template