Fixed invalid HTML in template