]> git.sesse.net Git - ccbs/blobdiff - html/templates/registration.tmpl
Add an option for un-registering people.
[ccbs] / html / templates / registration.tmpl
index 44d7ab7523c8f18d4293fd51bd0d7e2e0fd8d01c..5a2239f9ad944c2e8026454cdd22806f5dd81aee 100644 (file)
 [% END %]
       <td>
         <form method="post" action="do-set-paid.pl">
 [% END %]
       <td>
         <form method="post" action="do-set-paid.pl">
-          <input type="hidden" name="player" value="[% r.player %]" />
+          <p class="button">
+            <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
+            <input type="hidden" name="player" value="[% r.player %]" />
 [% IF r.paid %]
 [% IF r.paid %]
-          <input type="hidden" name="paid" value="f" />
-         <input type="submit" value="Sett som ikke betalt" />
+            <input type="hidden" name="paid" value="f" />
+           <input type="submit" value="Sett som ikke betalt" />
 [% ELSE %]
 [% ELSE %]
-          <input type="hidden" name="paid" value="t" />
-         <input type="submit" value="Sett som betalt" />
+            <input type="hidden" name="paid" value="t" />
+           <input type="submit" value="Sett som betalt" />
 [% END %]
 [% 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>
         </form>
       </td>
     </tr>