fix: error when viewing profile with no answerset

This commit is contained in:
James Graham
2021-03-10 15:03:24 +00:00
parent 667a51d1c7
commit 3ad8d4a5c9
5 changed files with 34 additions and 6 deletions

View File

@@ -62,6 +62,12 @@
<td>{{ answers }}</td>
</tr>
{% endfor %}
{% if answer_set is None %}
<tr>
<td colspan="2">No answers</td>
</tr>
{% endif %}
</tbody>
</table>

View File

@@ -37,6 +37,12 @@
<td>{{ answers }}</td>
</tr>
{% endfor %}
{% if answer_set is None %}
<tr>
<td colspan="2">No answers</td>
</tr>
{% endif %}
</tbody>
</table>

View File

@@ -21,6 +21,12 @@
<td>{{ answers }}</td>
</tr>
{% endfor %}
{% if answer_set is None %}
<tr>
<td colspan="2">No answers</td>
</tr>
{% endif %}
</tbody>
</table>