% if state == 'unsubmitted': unanswered % elif state == 'correct': correct % elif state == 'incorrect': incorrect % elif state == 'incomplete': incomplete % endif