From bb6096927b252e04d6b38f2956736fbc00784bf5 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Mon, 30 Sep 2019 14:23:32 +0100 Subject: [PATCH] Fix for items without a label --- templates/item.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/item.html b/templates/item.html index aeffdd1..e76a629 100644 --- a/templates/item.html +++ b/templates/item.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}{{ label }} ({{qid }}){% endblock %} +{% block title %}{{ label or 'no label' }} ({{qid }}){% endblock %} {% block style %}