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 != 'newwanted' and \
|
||||||
endpoint != 'newreport' and \
|
endpoint != 'newreport' and \
|
||||||
endpoint != 'newquestion':
|
endpoint != 'newquestion':
|
||||||
if category != 'accommodation':
|
|
||||||
dateAndLocation = \
|
dateAndLocation = \
|
||||||
'<div class="container">\n' + \
|
'<div class="container">\n'
|
||||||
|
if category != 'accommodation':
|
||||||
|
dateAndLocation += \
|
||||||
'<p><input type="checkbox" class="profilecheckbox" ' + \
|
'<p><input type="checkbox" class="profilecheckbox" ' + \
|
||||||
'name="commentsEnabled" checked><label class="labels"> ' + \
|
'name="commentsEnabled" checked><label class="labels"> ' + \
|
||||||
translate['Allow replies.'] + '</label></p>\n'
|
translate['Allow replies.'] + '</label></p>\n'
|
||||||
else:
|
else:
|
||||||
dateAndLocation = \
|
dateAndLocation += \
|
||||||
'<input type="hidden" name="commentsEnabled" value="true">\n'
|
'<input type="hidden" name="commentsEnabled" value="true">\n'
|
||||||
|
|
||||||
if endpoint == 'newpost':
|
if endpoint == 'newpost':
|
||||||
|
|
Loading…
Reference in New Issue