putting correct template tag.