So I want to do something like follows: {% if age > 18 %} {% with patient as p %} { % else %} {% with ...
stackoverflow.com