summaryrefslogtreecommitdiff
path: root/jinja2/nodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'jinja2/nodes.py')
-rw-r--r--jinja2/nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jinja2/nodes.py b/jinja2/nodes.py
index aa4df72..59e0765 100644
--- a/jinja2/nodes.py
+++ b/jinja2/nodes.py
@@ -314,7 +314,7 @@ class For(Stmt):
class If(Stmt):
"""If `test` is true, `body` is rendered, else `else_`."""
- fields = ('test', 'body', 'else_')
+ fields = ('test', 'body', 'elif_', 'else_')
class Macro(Stmt):