+ <form method="post" action="do-edit-player.pl">
+ <input type="hidden" name="player" value="[% player.player %]" />
+ <table>
+ <tr>
+ <th>Nick</th>
+ <td><input name="nick" value="[% player.nick %]" /></td>
+ </tr>
+ <tr>
+ <th>Country</th>
+ <td>
+ <select name="country">
+[% FOR c = countries %]
+ [% IF c.country == player.country %]
+ <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>Club</th>
+ <td>
+ <select name="club">
+ <option value="-1"></option>
+[% FOR c = clubs %]
+ [% IF c.club == player.club %]
+ <option value="[% c.club %]" selected="selected">[% c.clubname %]</option>
+ [% ELSE %]
+ <option value="[% c.club %]">[% c.clubname %]</option>
+ [% END %]
+[% END %]
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <th colspan="2">
+ <input type="submit" value="Edit" />
+ </th>
+ </tr>
+ </table>
+ </form>
+ </div>
+[% END %]
+
+ <h2>Best songs</h2>
+
+ <div>
+ <table class="scores">