From 9963ab69d1449707546fd766339c49ed7201f43a Mon Sep 17 00:00:00 2001
From: "Peter E. Yee" <github@houseofyee.com>
Date: Fri, 9 Oct 2020 21:41:10 +0000
Subject: [PATCH] Added slide numbering reminder. Fixes issue #3041. Commit
 ready for merge.  - Legacy-Id: 18590

---
 ietf/meeting/forms.py | 2 ++
 ietf/meeting/views.py | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ietf/meeting/forms.py b/ietf/meeting/forms.py
index 5312cf622..5f87e38a8 100644
--- a/ietf/meeting/forms.py
+++ b/ietf/meeting/forms.py
@@ -331,6 +331,8 @@ class FileUploadForm(forms.Form):
         self.mime_types = settings.MEETING_VALID_UPLOAD_MIME_TYPES[doc_type]
         super(FileUploadForm, self).__init__(*args, **kwargs)
         label = '%s file to upload.  ' % (self.doc_type.capitalize(), )
+        if self.doc_type == "slides":
+            label += 'Did you remember to put in slide numbers? '
         if self.mime_types:
             label += 'Note that you can only upload files with these formats: %s.' % (', '.join(self.mime_types, ))
         self.fields['file'].label=label
diff --git a/ietf/meeting/views.py b/ietf/meeting/views.py
index 75bbf84f8..1bbf5ae81 100644
--- a/ietf/meeting/views.py
+++ b/ietf/meeting/views.py
@@ -2495,7 +2495,7 @@ class UploadSlidesForm(FileUploadForm):
 
     def clean_title(self):
         title = self.cleaned_data['title']
-        # THe current tables only handles Unicode BMP:
+        # The current tables only handles Unicode BMP:
         if ord(max(title)) > 0xffff:
             raise forms.ValidationError("The title contains characters outside the Unicode BMP, which is not currently supported")
         if self.session.meeting.type_id=='interim':