]> git.sesse.net Git - ccbs/commitdiff
Fixed so the form shows the current active tournament.
authorSteinar H. Gunderson <sesse@samfundet.no>
Sat, 19 Feb 2005 01:35:17 +0000 (01:35 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Sat, 19 Feb 2005 01:35:17 +0000 (01:35 +0000)
html/templates/set-active-tournament.tmpl

index cce163ae4b92e2f8b5b04c24bb2acc30e7462428..e37f9ab7dcd3885830bdd2fc982ffb5fdf08a57f 100644 (file)
@@ -14,7 +14,7 @@
       <option value="-1"> </option>
 [% END %]
 [% FOR t = tournaments %]
       <option value="-1"> </option>
 [% END %]
 [% FOR t = tournaments %]
-[% IF t.tournament == selected_tournament %]
+[% IF t.tournament == active_tournament %]
       <option value="[% t.tournament %]" selected="selected">[% t.tournamentname %]</option>
 [% ELSE %]
       <option value="[% t.tournament %]">[% t.tournamentname %]</option>
       <option value="[% t.tournament %]" selected="selected">[% t.tournamentname %]</option>
 [% ELSE %]
       <option value="[% t.tournament %]">[% t.tournamentname %]</option>