- {{- query.code -}} -+ {% if query.code %} +
+ {{- query.code -}} ++ {% else %} + none + {% endif %}
diff --git a/src/codehelp/templates/help_view.html b/src/codehelp/templates/help_view.html index 43984af..8a0722b 100644 --- a/src/codehelp/templates/help_view.html +++ b/src/codehelp/templates/help_view.html @@ -46,24 +46,32 @@ {% endif %}
- {{- query.code -}} -+ {% if query.code %} +
+ {{- query.code -}} ++ {% else %} + none + {% endif %}
- {{- query.error -}} -+ {% if query.error %} +
+ {{- query.error -}} ++ {% else %} + none + {% endif %}