I indented everything in here, woops.

This change is simply that I wrapped the existing section in:

{% if GROUP_REG_ENABLED %}
.....
{% endif %}