- {% thumbnail request.user.profile.avatar "100x100" crop="center" as im %}
-

- {% endthumbnail %}
+ {% if request.user.profile.avatar %}
+ {% thumbnail request.user.profile.avatar "100x100" crop="center" as im %}
+

+ {% endthumbnail %}
+ {% else %}
+

+ {% endif %}
{% trans 'редактировать' %}
diff --git a/templates/client/includes/company/company_edit.html b/templates/client/includes/company/company_edit.html
index d0c1897d..91227b36 100644
--- a/templates/client/includes/company/company_edit.html
+++ b/templates/client/includes/company/company_edit.html
@@ -19,9 +19,13 @@
- {% thumbnail company.logo "100x100" crop="center" as im %}
-

- {% endthumbnail %}
+ {% if company.logo %}
+ {% thumbnail company.logo "100x100" crop="center" as im %}
+

+ {% endthumbnail %}
+ {% else %}
+

+ {% endif %}