Skip to content

Commit

Permalink
Fix issue in template
Browse files Browse the repository at this point in the history
  • Loading branch information
Janis Lesinskis committed Oct 3, 2017
1 parent dc4ea00 commit e055c67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quiz_generator/quiz.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
{% for question in questions %}
Question #{{ loop.index }}:
{{ question.question_to_latex}}
{{ question.render_question()}}
{% endfor %}
""")

default_marking_sheet_template = jinja2.Template("""
Marking sheet for {{ quiz_name }} version {{ quiz_version }}
{% for question in questions %}
Answer for question ${{loop.index}}: {{ question.answer_to_latex }}
Answer for question #{{loop.index}}: {{ question.render_answer() }}
{% endfor %}
""")

Expand Down

0 comments on commit e055c67

Please sign in to comment.