]> git.sesse.net Git - ccbs/blob - html/templates/add-tournament.tmpl
Show ranking list on the web interface.
[ccbs] / html / templates / add-tournament.tmpl
1 [%# vim:set filetype=html: %]
2 <div>
3 <form action="do-add-tournament.pl" method="post">
4   <table>
5     <tr>
6       <th>Sesong:</th>
7       <td>
8         <select name="season">
9 [% FOR season = seasons %]
10            <option value="[% season.season %]">[% season.seasonname %]</option>
11 [% END %]          
12         </select>
13       </td>
14     </tr>
15     <tr>
16       <th>Navn:</th>
17       <td><input name="name" /></td>
18     </tr>
19     <tr>
20       <th>Land:</th>
21       <td>
22         <select name="country">
23 [% FOR country = countries %]
24            <option value="[% country.country %]">[% country.countryname %]</option>
25 [% END %]          
26         </select>
27       </td>
28     </tr>
29     <tr>
30       <th>Sted:</th>
31       <td><input name="place" /></td>
32     </tr>
33     <tr>
34       <th>Dato:</th>
35       <td><input name="date" /></td>
36     </tr>
37     <tr>
38       <th>Maskin:</th>
39       <td>
40         <select name="machine">
41 [% FOR machine = machines %]
42            <option value="[% machine.machine %]">[% machine.machinename %]</option>
43 [% END %]          
44         </select>
45       </td>
46     </tr>
47     <tr>
48       <th>Scoresystem:</th>
49       <td>
50         <select name="scoringsystem">
51 [% FOR scoringsystem = scoringsystems %]
52            <option value="[% scoringsystem.scoringsystem %]">[% scoringsystem.scoringsystemname %]</option>
53 [% END %]          
54         </select>
55       </td>
56     </tr>
57     <tr>
58       <td colspan="2"><input type="submit" value="Legg inn" /></td>
59     </tr>
60   </table>
61 </form>
62 </div>