Fix closing of <table> tag
authorDaniel Gustafsson <daniel@yesql.se>
Mon, 4 Sep 2017 10:38:24 +0000 (12:38 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 4 Sep 2017 10:38:24 +0000 (12:38 +0200)
pgcommitfest/commitfest/templates/commitfest.html

index c648f8c6b1fe5cd60d9576fcb66611b72fcc22fe..46f70e4547a5240385c7dfcdd2b855116ab7eb6e 100644 (file)
    <td style="white-space: nowrap;"><input type="checkbox" class="sender_checkbox" id="send_authors_{{p.id}}">Author<br/><input type="checkbox" class="sender_checkbox" id="send_reviewers_{{p.id}}">Reviewer</td>
 {%endif%}
   </tr>
-{%endfor%}
-{%if p%}
+{%if forloop.last%}
  </tbody>
 </table>
 {%endif%}
+{%endfor%}
 
 <div>
 {%if cf.isopen or user.is_staff %}