Shouldn't this `{% endif %}` be in line with the `if` block above? And the `for` should move left a space too.