From 3de0d7f74516cf0a687bb954be2fdeb997aee408 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Tue, 14 Feb 2023 17:36:45 -0600 Subject: [PATCH] Add freeze option to org contest form --- judge/forms.py | 1 + templates/organization/contest/edit.html | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/judge/forms.py b/judge/forms.py index f90664f..83b45e5 100644 --- a/judge/forms.py +++ b/judge/forms.py @@ -263,6 +263,7 @@ class EditOrganizationContestForm(ModelForm): "curators", "testers", "time_limit", + "freeze_after", "use_clarifications", "hide_problem_tags", "scoreboard_visibility", diff --git a/templates/organization/contest/edit.html b/templates/organization/contest/edit.html index 71e49a9..101bfbf 100644 --- a/templates/organization/contest/edit.html +++ b/templates/organization/contest/edit.html @@ -12,7 +12,8 @@ #org-field-wrapper-start_time, #org-field-wrapper-end_time, #org-field-wrapper-time_limit, - #org-field-wrapper-format_name { + #org-field-wrapper-format_name, + #org-field-wrapper-freeze_after { display: inline-flex; } .problems-problem {