fix swiss form
parent
046bdca05e
commit
1610fb85d9
|
@ -18,7 +18,7 @@ final class SwissForm(implicit mode: Mode) {
|
||||||
def form(minRounds: Int = 3) =
|
def form(minRounds: Int = 3) =
|
||||||
Form(
|
Form(
|
||||||
mapping(
|
mapping(
|
||||||
"name" -> optional(eventName(2, 3)),
|
"name" -> optional(eventName(2, 30)),
|
||||||
"clock" -> mapping(
|
"clock" -> mapping(
|
||||||
"limit" -> number.verifying(clockLimits.contains _),
|
"limit" -> number.verifying(clockLimits.contains _),
|
||||||
"increment" -> number(min = 0, max = 600)
|
"increment" -> number(min = 0, max = 600)
|
||||||
|
|
Loading…
Reference in New Issue