]> git.sesse.net Git - ccbs/blobdiff - html/templates/registration.tmpl
Registration now supports countries and clubs.
[ccbs] / html / templates / registration.tmpl
index a51778fd15c81c8caaf9685038f29d58fce71975..dca65b0d48322b0890ec75ed3b831f068374339b 100644 (file)
       <th>Nick</th>
       <td><input name="nick" /></td>
     </tr>
+    <tr>
+      <th>Land</th>
+      <td>
+        <select name="country">
+[% FOR c = countries %]
+[% IF c.countrycode == "NOR" %]
+          <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>Klubb</th>
+      <td>
+        <select name="club">
+         <option value="-1" selected="selected"></option>
+[% FOR c = clubs %]
+          <option value="[% c.club %]">[% c.clubcode %] - [% c.clubname %]</option>
+[% END %]        
+       </select>
+      </td>
+    </tr>
     <tr>
       <th colspan="2">
         <input type="hidden" name="tournament" value="[% tournament.tournament %]" />