<th>Nick</th>
<td><input name="nick" /></td>
</tr>
+ <tr>
+ <th>Land</th>
+ <td>
+ <select name="country">
+[% FOR c = countries %]
+[% IF c.countrycode == "NOR" %]
+ <option value="[% c.country %]" selected="selected">[% c.countrycode %] - [% c.countryname %]</option>
+[% ELSE %]
+ <option value="[% c.country %]">[% c.countrycode %] - [% c.countryname %]</option>
+[% END %]
+[% END %]
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <th>Klubb</th>
+ <td>
+ <select name="club">
+ <option value="-1" selected="selected"></option>
+[% FOR c = clubs %]
+ <option value="[% c.club %]">[% c.clubcode %] - [% c.clubname %]</option>
+[% END %]
+ </select>
+ </td>
+ </tr>
<tr>
<th colspan="2">
<input type="hidden" name="tournament" value="[% tournament.tournament %]" />
<table>
[% FOR r = registered %]
<tr>
- <td>[% r.nick %]</td>
+ <td><a href="player.pl?id=[% r.player %]">[% r.nick %]</a></td>
[% IF r.paid %]
<td>betalt</td>
[% ELSE %]
</p>
</form>
</td>
+ <td>
+ <form method="post" action="edit-player.pl">
+ <p class="button">
+ <input type="hidden" name="player" value="[% r.player %]" />
+ <input type="submit" value="Editer spiller" />
+ </p>
+ </form>
+ </td>
</tr>
[% END %]
</table>