diff --git a/webapp_create_post.py b/webapp_create_post.py
index 5b92ac602..a74850cc3 100644
--- a/webapp_create_post.py
+++ b/webapp_create_post.py
@@ -200,6 +200,24 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
"""
replyStr = ''
+ isNewReminder = False
+ if path.endswith('/newreminder'):
+ isNewReminder = True
+
+ # the date and time
+ dateAndTimeStr = \
+ '
\n'
+ # select a date and time for this post
+ dateAndTimeStr += '\n'
+ dateAndTimeStr += '\n'
+ dateAndTimeStr += '
\n'
+
showPublicOnDropdown = True
messageBoxHeight = 400
@@ -209,7 +227,7 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
if not path.endswith('/newshare') and not path.endswith('/newwanted'):
if not path.endswith('/newreport'):
- if not inReplyTo or path.endswith('/newreminder'):
+ if not inReplyTo or isNewReminder:
newPostText = '
' + \
translate['Write your post text below.'] + '
\n'
- # select a date and time for this post
- dateAndLocation += '\n'
- dateAndLocation += '\n'
- dateAndLocation += '
\n'
+ if not isNewReminder:
+ dateAndLocation += dateAndTimeStr
dateAndLocation += '\n'
dateAndLocation += '
\n'
@@ -730,6 +738,11 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
if not shareDescription:
shareDescription = ''
+
+ # for reminders show the date and time at the top
+ if path.endswith('/newreminder'):
+ newPostForm += dateAndTimeStr
+
newPostForm += \
editTextField(placeholderSubject, 'subject', shareDescription)
newPostForm += ''