{% load helpers %} {% if action == 'allow' %} {% elif action == 'deny' %} {% else %} {{ action|placeholder }} {% endif %}