summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson2017-06-20 06:52:13 +0000
committerMagnus Hagander2017-06-20 06:52:13 +0000
commit4a9f07f8e4a66aecba4ddc0864af8c52249d7be0 (patch)
tree73d7f50b5f3fa5a660fe6a4a1c8b1f7c31df0c8a
parent96f973247fc6359a059387daadbc499e4b983083 (diff)
Fix incorrect markup
-rw-r--r--pgcommitfest/commitfest/templates/commitfest.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/pgcommitfest/commitfest/templates/commitfest.html b/pgcommitfest/commitfest/templates/commitfest.html
index c416566..6f59b56 100644
--- a/pgcommitfest/commitfest/templates/commitfest.html
+++ b/pgcommitfest/commitfest/templates/commitfest.html
@@ -19,9 +19,14 @@
<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>