From ffedc4103d8b5eef72dd43c0140d198359dd049b Mon Sep 17 00:00:00 2001 From: Aaron Kable Date: Mon, 14 Oct 2024 19:22:46 +0800 Subject: [PATCH] fix max chars on duration --- allianceauth/optimer/form.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allianceauth/optimer/form.py b/allianceauth/optimer/form.py index 3a870a08..856a36a4 100644 --- a/allianceauth/optimer/form.py +++ b/allianceauth/optimer/form.py @@ -15,7 +15,7 @@ class OpForm(forms.Form): operation_name = forms.CharField(max_length=254, required=True, label=_("Operation Name")) type = forms.CharField(required=False, label=_("Operation Type")) fc = forms.CharField(max_length=254, required=True, label=_("Fleet Commander")) - duration = forms.CharField(max_length=254, required=True, label=_("Duration")) + duration = forms.CharField(max_length=25, required=True, label=_("Duration")) description = forms.CharField( widget=forms.Textarea(attrs={"rows": 10, "cols": 20, "input_type": "textarea"}), required=False,