MobileBlur

test_if.html at [6548f791b4]
Login

test_if.html at [6548f791b4]

File applications/examples/views/template_examples/test_if.html artifact b03b1579a9 part of check-in 6548f791b4


{{extend 'layout.html'}}
<h1>If statement</h1>

{{
a=10
}}

{{if a%2==0:}}
<h2>{{=a}} is even</h2>
{{else:}}
<h2>{{=a}} is odd</h2>
{{pass}}