## The hinter module passes in a field called ${op}, which determines which ## sub-function to render. <%def name="get_hint()"> % if len(hints) > 0:
Optional. Help us improve our hints! Which hint was most helpful to you?
% for answer, pk_dict in answer_to_hints.items(): % for hint_pk, hint_text in pk_dict.items():${hint_text}
% endfor % endforDon't like any of the hints above? Write your own!
Choose the incorrect answer for which you want to write a hint:
% else:Optional. Help other students by submitting a hint! Pick one of your previous answers for which you would like to write a hint:
% endif % for answer in user_submissions: ${answer}