+
+<h2>Påmeldte</h2>
+
+<div>
+ <table>
+[% FOR r = registered %]
+ <tr>
+ <td>[% r.nick %]</td>
+[% IF r.paid %]
+ <td>betalt</td>
+[% ELSE %]
+ <td class="notpaid">ikke betalt</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="Sett som ikke betalt" />
+[% ELSE %]
+ <input type="hidden" name="paid" value="t" />
+ <input type="submit" value="Sett som betalt" />
+[% 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="Fjern" />
+ </p>
+ </form>
+ </td>
+ </tr>
+[% END %]
+ </table>
+</div>
+