Skip to content
Snippets Groups Projects
Commit 4e989049 authored by Julian's avatar Julian
Browse files

Correctly display excuse_types and extra_marks

parent 773af296
No related branches found
No related tags found
1 merge request!269Resolve "Class register / personal notes unusable on mobile devices"
Pipeline #54280 passed
...@@ -113,9 +113,9 @@ ...@@ -113,9 +113,9 @@
</span> </span>
</td> </td>
<td><i class="material-icons center">{{ form.excused.value|yesno:"check,clear" }}</i></td> <td><i class="material-icons center">{{ form.excused.value|yesno:"check,clear" }}</i></td>
<td>{% firstof form.excuse_type.value "–" %}</td> <td>{% firstof form.instance.excuse_type "–" %}</td>
<td> <td>
{% for extra_mark in form.extra_marks.value %} {% for extra_mark in form.instance.extra_marks.all %}
{{ extra_mark }}{% if not forloop.last %},{% endif %} {{ extra_mark }}{% if not forloop.last %},{% endif %}
{% empty %} {% empty %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment