]> git.sesse.net Git - ccbs/commitdiff
Fix some validation errors, more remain.
authorSteinar H. Gunderson <sesse@samfundet.no>
Mon, 14 Feb 2005 15:49:59 +0000 (15:49 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Mon, 14 Feb 2005 15:49:59 +0000 (15:49 +0000)
15:15-16:45

html/templates/registration.tmpl

index bd0b4b53361474e220b799832d8d6afc1e4daaed..44d7ab7523c8f18d4293fd51bd0d7e2e0fd8d01c 100644 (file)
@@ -3,7 +3,6 @@
 
 <div>
 <form method="post" action="do-registration.pl">
 
 <div>
 <form method="post" action="do-registration.pl">
-  <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
   <table>
     <tr>
       <th>Spiller</th>
   <table>
     <tr>
       <th>Spiller</th>
@@ -26,6 +25,7 @@
     </tr>
     <tr>
       <th colspan="2">
     </tr>
     <tr>
       <th colspan="2">
+        <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
         <input type="submit" value="Legg til" />
       </th>
     </tr>
         <input type="submit" value="Legg til" />
       </th>
     </tr>
 <h2>Påmeldte</h2>
 
 <div>
 <h2>Påmeldte</h2>
 
 <div>
-  <ul>
+  <table>
 [% FOR r = registered %]
 [% FOR r = registered %]
-    <li>
-      [% r.nick %] - 
+    <tr>
+      <td>[% r.nick %]</td>
 [% IF r.paid %]
 [% IF r.paid %]
-      betalt
+      <td>betalt</td>
 [% ELSE %]
 [% ELSE %]
-      <span class="notpaid">ikke betalt</span>
+      <td class="notpaid">ikke betalt</td>
 [% END %]
 [% END %]
-      <form method="post" action="do-set-paid.pl">
-        <input type="hidden" name="player" value="[% r.player %]" />
+      <td>
+        <form method="post" action="do-set-paid.pl">
+          <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 %]
-      </form>
-    </li>
+        </form>
+      </td>
+    </tr>
 [% END %]
 [% END %]
-  </ul>
+  </table>
 </div>
 
 </div>