+<div>
+ <table>
+[% FOR r = registered %]
+ <tr>
+ <td><a href="player.pl?id=[% r.player %]">[% r.nick %]</a></td>
+[% IF r.paid %]
+ <td>paid</td>
+[% ELSE %]
+ <td class="notpaid">not paid</td>
+[% END %]
+ <td>
+ <form method="post" action="do-set-paid.pl">
+ <p class="button">
+ <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
+ <input type="hidden" name="player" value="[% r.player %]" />
+[% IF r.paid %]
+ <input type="hidden" name="paid" value="f" />
+ <input type="submit" value="<_>Set as not paid</_>" />
+[% ELSE %]
+ <input type="hidden" name="paid" value="t" />
+ <input type="submit" value="<_>Set as paid</_>" />
+[% END %]
+ </p>
+ </form>
+ </td>
+ <td>
+ <form method="post" action="do-unregister.pl">
+ <p class="button">
+ <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
+ <input type="hidden" name="player" value="[% r.player %]" />
+ <input type="submit" value="<_>Remove</_>" />
+ </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="<_>Edit player</_>" />
+ </p>
+ </form>
+ </td>
+ </tr>
+[% END %]
+ </table>
+</div>