{{ for t in trials }} {{ endfor }}
Toss coin or not?
If the coin turns up heads, then you lose {{ t.toss_lose|to2 }}. If the coin turns up tails, you win {{ t.toss_win|to2 }}. {{ if t.chose_toss == None }} Toss coin

Don't toss coin

{{ endif }}