core: contest team (#1183)

This commit is contained in:
Baoshuo authored and GitHub committed 2026-09-16 01:05:44 +08:00
1 parent 238b1263bf
commit 78e898fdfc
22 files changed
+934 -96

No files matched your search

@@ -174,6 +174,16 @@
value:tdoc.allowPrint|default(false),
row:false
}) }}
{{ form.form_checkbox({
columns:4,
label:'Allow Team',
name:'allowTeam',
placeholder:_('Allow team participation'),
help_text:_('Once enabled, team participation cannot be disabled for this contest.'),
value:tdoc.allowTeam|default(false),
row:false,
disabled:tdoc.allowTeam|default(false)
}) }}
<div style="display: none" class="contest-rule-settings contest-rule--oi contest-rule--strictioi">
{{ form.form_checkbox({
columns:4,