]> git.sesse.net Git - ccbs/blobdiff - html/templates/registration.tmpl
Added links for all songs (no backend yet) in the tournament view.
[ccbs] / html / templates / registration.tmpl
index 73cdcdd4bcd73096cb4c940ab9e90c924bcf16a5..a51778fd15c81c8caaf9685038f29d58fce71975 100644 (file)
@@ -9,7 +9,11 @@
       <td>
         <select name="player">
 [% FOR a = available %]
-          <option value="[% a.player %]">[% a.nick %]</option>
+[% IF a.player == selected_player %]
+           <option value="[% a.player %]" selected="selected">[% a.nick %]</option>
+[% ELSE %]
+           <option value="[% a.player %]">[% a.nick %]</option>
+[% END %]
 [% END %]
         </select>
       </td>