]> git.sesse.net Git - ccbs/commitdiff
Add old- versions of all data in the form; we can't really detect what button was...
authorSteinar H. Gunderson <sesse@samfundet.no>
Wed, 16 Feb 2005 14:21:05 +0000 (14:21 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Wed, 16 Feb 2005 14:21:05 +0000 (14:21 +0000)
html/templates/show-tournament.tmpl

index 0c2bc7abeefee54dd3d454148cf9a50c8e2f0b0b..074e21eb482b3ce321559a52b4907b222773cef3 100644 (file)
       <th>[% pl.nick %]</th>
         [% FOR s = pl.songs %]
       <td class="nowrap">
+        <input type="hidden" name="old-score[% pl.player %]-[% s.songnumber %]" value="[% s.score %]" />
+        <input type="hidden" name="old-playmode[% pl.player %]-[% s.songnumber %]" value="[% s.playmode %]" />
+        <input type="hidden" name="old-difficulty[% pl.player %]-[% s.songnumber %]" value="[% s.difficulty %]" />
         <input name="score[% pl.player %]-[% s.songnumber %]" value="[% s.score %]" size="5" />
        <select name="playmode[% pl.player %]-[% s.songnumber %]">
          <option value=""> </option>
       </td>
           [% IF s.chosen %]
       <td>
+        <input type="hidden" name="old-song[% pl.player %]-[% s.songnumber %]" value="[% ss.song %]" />
         <select name="song[% pl.player %]-[% s.songnumber %]">
           <option value=""> </option>
             [% FOR ss = songs %]