title: Django Template syntax error (Invalid block Tag)
body: <p>I want to open my booking form page in my website but I got this error:</p>
  <pre><code>TemplateSyntaxError at /form.html/
   Invalid block tag on line 61: 'end', expected 'empty' or 'endfor'. Did you forget to register or 
   load this tag?
  </code></pre>
  <p>Here is my Code:</p>
  <pre><code>     {% if messages %}
       {% for message in messages %}
        &lt;h2 style=&quot;color: green&quot;&gt;{{message}}&lt;/h2&gt;
        {% end for %} //the line I got the error
       {% end if %}
  </code></pre>