{{extend 'layout.html'}}

Answers from {{=sa.created_ip}}

{{if sa.completed:}}completed on {{=sa.modified_on}} {{else:}}incomplete, last accessed on {{=sa.modified_on}}{{pass}}

{{for q,a,c in answers:}}

{{=q.title}}

{{if q.type=='long text':}}{{=XML(a)}} {{elif q.type=='long text verbatim':}}
{{=XML(a)}}
{{elif q.type=='multiple exclusive' and str(a):}}{{=chr(ord('A')+int(a))}} {{elif q.type=='multiple not exclusive' and a and a[0]:}} {{for i in a:}}{{=chr(ord('A')+int(i))}} {{pass}} {{else:}}{{=a}} {{pass}} {{if c:}}

Comments: {{=c}}

{{pass}} {{pass}}