mirror of https://gitlab.com/bashrc2/epicyon
Preserve container
parent
0b2a881755
commit
adfb7e6e5d
|
@ -536,14 +536,15 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
|
|||
endpoint != 'newwanted' and \
|
||||
endpoint != 'newreport' and \
|
||||
endpoint != 'newquestion':
|
||||
if category != 'accommodation':
|
||||
dateAndLocation = \
|
||||
'<div class="container">\n' + \
|
||||
'<div class="container">\n'
|
||||
if category != 'accommodation':
|
||||
dateAndLocation += \
|
||||
'<p><input type="checkbox" class="profilecheckbox" ' + \
|
||||
'name="commentsEnabled" checked><label class="labels"> ' + \
|
||||
translate['Allow replies.'] + '</label></p>\n'
|
||||
else:
|
||||
dateAndLocation = \
|
||||
dateAndLocation += \
|
||||
'<input type="hidden" name="commentsEnabled" value="true">\n'
|
||||
|
||||
if endpoint == 'newpost':
|
||||
|
|
Loading…
Reference in New Issue