fix some mistakes with some closing tags in a django template