diff --git a/src/fellchensammlung/templates/fellchensammlung/partials/sex-overview.html b/src/fellchensammlung/templates/fellchensammlung/partials/sex-overview.html index 2603362..39db429 100644 --- a/src/fellchensammlung/templates/fellchensammlung/partials/sex-overview.html +++ b/src/fellchensammlung/templates/fellchensammlung/partials/sex-overview.html @@ -1,19 +1,20 @@ {% load static %} {% load i18n %}
             
         
-    {% endif %}
+        {% endif %}
 
-    {% if adoption_notice.num_per_sex.I > 0 %}
-        
-            {{ adoption_notice.num_per_sex.I }}
+        {% if num_per_sex.I > 0 %}
+            
+            {{ num_per_sex.I }}
 
             
                 
             
         
-    {% endif %}
-    {% if adoption_notice.num_per_sex.M_N > 0 %}
-        
-            {{ adoption_notice.num_per_sex.M_N }}
+        {% endif %}
+        {% if num_per_sex.M_N > 0 %}
+            
+            {{ num_per_sex.M_N }}
             
                 
             
         
-    {% endif %}
+        {% endif %}
+    {% endwith %}