Add missing fields ; add AGA rules

This commit is contained in:
Claude Brisson
2024-04-13 19:45:41 +02:00
parent 18f212f492
commit 64cc5aa079
4 changed files with 6 additions and 1 deletions

View File

@@ -168,6 +168,9 @@ onLoad(() => {
country: form.val('country'),
online: form.val('online'),
location: form.val('location'),
rules: form.val('rules'),
gobanSize: form.val('gobanSize'),
komi: form.val('komi'),
pairing: {
type: form.val('pairing'),
// mmFloor: form.val('mmFloor'),

View File

@@ -147,6 +147,7 @@
<label>Rules</label>
<span class="info"></span>
<select name="rules">
<option value="AGA" #if($tour && $tour.rules == 'AGA') selected #end>AGA rules</option>
<option value="CHINESE" #if($tour && $tour.rules == 'CHINESE') selected #end>Chinese rules</option>
<option value="FRENCH" #if(!$tour || $tour.rules == 'FRENCH') selected #end>French rules</option>
<option value="JAPANESE" #if($tour && $tour.rules == 'JAPANESE') selected #end>Japanese rules</option>