From e8efa2be5938325717553c2d8c56e731e7cbe7e7 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Fri, 26 Jan 2018 19:34:15 +0300 Subject: [PATCH] fix --- searchapp/templates/searchapp/index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/searchapp/templates/searchapp/index.html b/searchapp/templates/searchapp/index.html index 33ed773..8fc7ba4 100644 --- a/searchapp/templates/searchapp/index.html +++ b/searchapp/templates/searchapp/index.html @@ -26,7 +26,11 @@

{{ ab.username|safe }}

- {{ ab.fio|safe }} {{ ab.ip_address }} {{ ab.telephone|safe }} + {{ ab.fio|safe }} + {% if ab.ip_address %} + {{ ab.ip_address }} + {% endif %} + {{ ab.telephone|safe }}

{% empty %}