Fix incorrect markup
authorDaniel Gustafsson <daniel@yesql.se>
Tue, 20 Jun 2017 06:52:13 +0000 (08:52 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 20 Jun 2017 06:52:13 +0000 (08:52 +0200)
pgcommitfest/commitfest/templates/commitfest.html

index c4165669222e154861ebf4b8158a76d274b20070..6f59b56c42c00371f230cd12c66cea31fffa64d0 100644 (file)
       <table class="table table-condensed" style="margin-bottom: 0px">
        <thead>
          <tr>
-{%for f in form%}{%if not f.is_hidden%}
+{%for f in form%}
+         {%if not f.is_hidden%}
             <td>{{f.label}}</td>
-{%endif%}{%endfor%}
+        {%else%}
+           <td></td>
+        {%endif%}
+{%endfor%}
+           {%comment%} Add one extra for buttons {%endcomment%}
            <td></td>
          </tr>
        </thead>