]> git.sesse.net Git - ccbs/blob - html/templates/tournaments.tmpl
Add tournament/round hidden inputs for all cases :-)
[ccbs] / html / templates / tournaments.tmpl
1 [%# vim:set filetype=html: %]
2 [% SET last_season = 0 %]
3 [% FOR t = tournaments %]
4
5 [% IF t.season != last_season %]
6 [% IF last_season != 0 %]
7     </ul>
8   </div>
9 [% END %]
10 [% SET last_season = t.season %]
11
12   <h2>[% t.seasonname %]</h2>
13   
14   <div>
15     <ul>
16 [% END %]
17       <li>
18         <a href="show-tournament.pl?id=[% t.tournament %]">[% t.tournamentname %]</a>
19         (<a href="registration.pl?id=[% t.tournament %]">registrering</a>)
20       </li>
21 [% END %]
22     </ul>
23   </div>