diff --git a/aleksis/apps/alsijil/templates/alsijil/print/register_for_group.html b/aleksis/apps/alsijil/templates/alsijil/print/register_for_group.html
index 6fd25281d0e13ad4ac510662f3b44a33182cd66c..b784596e4c2842cb1afffe490945be4070e288b4 100644
--- a/aleksis/apps/alsijil/templates/alsijil/print/register_for_group.html
+++ b/aleksis/apps/alsijil/templates/alsijil/print/register_for_group.html
@@ -37,7 +37,7 @@
     {% endif %}
     {% if group.child_groups %}
       <h4>{% trans 'Teachers and lessons in child groups' %}</h4>
-      {% include "alsijil/partials/register_teachers_and_subjects_table.html" with groups=group.child_groups only}
+      {% include "alsijil/partials/register_teachers_and_subjects_table.html" with groups=group.child_groups only %}
       <div class="page-break">&nbsp;</div>
     {% endif %}
   {% endif %}