delete elif in templatetag