Skip to content

Commit 17cf109

Browse files
committed
Fix cosmetic problem with label_suffix and the delete labels on the milestones page
- Legacy-Id: 7770
1 parent 0bd8243 commit 17cf109

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ietf/group/milestones.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def parse_doc_names(s):
2626
class MilestoneForm(forms.Form):
2727
id = forms.IntegerField(required=True, widget=forms.HiddenInput)
2828

29-
desc = forms.CharField(max_length=500, label="Milestone", required=True)
29+
desc = forms.CharField(max_length=500, label="Milestone:", required=True)
3030
due_month = forms.TypedChoiceField(choices=(), required=True, coerce=int)
3131
due_year = forms.TypedChoiceField(choices=(), required=True, coerce=int)
3232
resolved_checkbox = forms.BooleanField(required=False, label="Resolved")
@@ -40,6 +40,8 @@ class MilestoneForm(forms.Form):
4040
required=False, initial="noaction", widget=forms.RadioSelect)
4141

4242
def __init__(self, *args, **kwargs):
43+
kwargs["label_suffix"] = ""
44+
4345
m = self.milestone = kwargs.pop("instance", None)
4446

4547
self.needs_review = kwargs.pop("needs_review", False)

0 commit comments

Comments
 (0)