]> git.sesse.net Git - ccbs/blobdiff - html/templates/show-tournament.tmpl
The "edit scores" backend now finds out which update button was pressed.
[ccbs] / html / templates / show-tournament.tmpl
index 7adedb730a3f15f6033ee735444f7d1248274fe4..0c2bc7abeefee54dd3d454148cf9a50c8e2f0b0b 100644 (file)
   <table class="scores">
     <tr>
     [% IF p.parallel == 0 %]
-      <th></th>
+      <th>
+        <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
+        <input type="hidden" name="round" value="[% r.round %]" />
+      </th>
     [% ELSE %]
-      <th>Gruppe [% p.parallel %]</th>
+      <th>
+        <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
+        <input type="hidden" name="round" value="[% r.round %]" />
+        Gruppe [% p.parallel %]
+      </th>
     [% END %]
     [% FOR s = p.songs %]
       [% IF s == '' %]
       [% IF pl.locked %]
     <tr>
       <th>
-        <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
-        <input type="hidden" name="round" value="[% r.round %]" />
         [% pl.nick %]
       </th>
         [% FOR s = pl.songs %]