1 [%# vim:set filetype=html: %]
5 <form method="post" action="do-registration.pl">
10 <select name="player">
11 [% FOR a = available %]
12 [% IF a.player == selected_player %]
13 <option value="[% a.player %]" selected="selected">[% a.nick %]</option>
15 <option value="[% a.player %]">[% a.nick %]</option>
25 <option value="f">Nei</option>
26 <option value="t">Ja</option>
32 <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
33 <input type="submit" value="Legg til" />
40 <h2>Registrering av ny spiller</h2>
43 <form method="post" action="do-add-player.pl">
47 <td><input name="nick" /></td>
52 <select name="country">
53 [% FOR c = countries %]
54 [% IF c.countrycode == "NOR" %]
55 <option value="[% c.country %]" selected="selected">[% c.countrycode %] - [% c.countryname %]</option>
57 <option value="[% c.country %]">[% c.countrycode %] - [% c.countryname %]</option>
67 <option value="-1" selected="selected"></option>
69 <option value="[% c.club %]">[% c.clubcode %] - [% c.clubname %]</option>
76 <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
77 <input type="submit" value="Legg til" />
88 [% FOR r = registered %]
90 <td><a href="player.pl?id=[% r.player %]">[% r.nick %]</a></td>
94 <td class="notpaid">ikke betalt</td>
97 <form method="post" action="do-set-paid.pl">
99 <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
100 <input type="hidden" name="player" value="[% r.player %]" />
102 <input type="hidden" name="paid" value="f" />
103 <input type="submit" value="Sett som ikke betalt" />
105 <input type="hidden" name="paid" value="t" />
106 <input type="submit" value="Sett som betalt" />
112 <form method="post" action="do-unregister.pl">
114 <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
115 <input type="hidden" name="player" value="[% r.player %]" />
116 <input type="submit" value="Fjern" />
121 <form method="post" action="edit-player.pl">
123 <input type="hidden" name="player" value="[% r.player %]" />
124 <input type="submit" value="Editer spiller" />