diff --git a/core/templates/core/child_list.html b/core/templates/core/child_list.html index f1f72373..afce2b75 100644 --- a/core/templates/core/child_list.html +++ b/core/templates/core/child_list.html @@ -1,5 +1,5 @@ {% extends 'babybuddy/page.html' %} -{% load widget_tweaks thumbnail %} +{% load widget_tweaks static thumbnail %} {% block title %}Children{% endblock %} @@ -25,8 +25,12 @@ {% for child in object_list %} - {% thumbnail child.picture 40x40 upscale crop as thumb %} - + {% if child.picture %} + {% thumbnail child.picture 40x40 upscale crop as thumb %} + + {% else %} + + {% endif %} {{ child.first_name }}